Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. Problem when apply cilk_for with ippiFFT of intel parallel

Problem when apply cilk_for with ippiFFT of intel parallel

Scheduled Pinned Locked Moved ATL / WTL / STL
performancehelpquestioncode-review
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tunheo
    wrote on last edited by
    #1

    We have a method using ippiFFT to perform forward and inverse FFT of an Image. This method calls ippiFFT 3 times. We try apply cilk_spawn with purpose improve performance of FFT processing, but processing speed of the method is slower than source without cilk_spawn (decreased about 1.5 times). We don't known what is the problem, please help us!

    I will describe shortly here:
    void performFFT(int start, int end, Ipp32fc[] image)
    {
    for(int i = start; i < end; i++)
    {
    ippiFFTInv(Image[i])....
    ippiFFTInv(Image[i])....
    ippiFFTFwd(Image[i])....
    }
    }

    Source calls method performFFT without cilk_spawn:

    Image\[10\];
    performFFT(0, 10, Image);
    

    Source calls method performFFT with cilk_spawn: (which is performance decrease 1.5 times)

    Image\[10\];
    cilk\_spawn performFFT(0,5, Image);
    performFFT(5,10,Image);
    cilk\_sync;
    
    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups