questions I have are: - Why benchmark an array of zeroes ? - If zeroed array needs to be benched , why not test it 'fully' out of place (separate src/dest buffer like below)?
Quote from: j_groothu on 28 Oct 2007, 01:22:56 pmquestions I have are: - Why benchmark an array of zeroes ? - If zeroed array needs to be benched , why not test it 'fully' out of place (separate src/dest buffer like below)?hmm... maybe Alex Kan or Joe has a good answer
I don't know why Ben Herndon used the out of place form of parameters in the ippsFFTInv_CToC_32fc() calls, but he may have checked the actual code produced and determined that was slightly more efficient. Joe
ahah I see.... now that IPP call is "In Place" You can do this: ... if(pre_test == zero_out) { ippsFFTInv_CToC_32fc( // ( Ipp32fc * ) out_buf, // Commented out this to make it inplace ( Ipp32fc * ) out_buf, // This is both source and destination FftSpec, NULL ); }
so it compilesheinz