intel-ipp

How should I interpreter these VTune results?

允我心安 提交于 2019-11-28 02:24:44
I'm trying to parallelyzing this code using OpenMP. OpenCV (built using IPP for best efficiency) is used as external library. I'm having problems unbalanced CPU usage in parallel for s, but it seems that there is no load imbalance. As you will see, this could be because of KMP_BLOCKTIME=0 , but this could be necessary because of external libraries (IPP, TBB, OpenMP, OpenCV). In the rest of the questions you will find more details and data that you can download. These are the Google Drive links to my VTune results: c755823 basic KMP_BLOCKTIME=0 30 runs : basic hotspot with environment variable

Converting an FFT to a spectogram

妖精的绣舞 提交于 2019-11-27 20:25:01
问题 I have an audio file and I am iterating through the file and taking 512 samples at each step and then passing them through an FFT. I have the data out as a block 514 floats long (Using IPP's ippsFFTFwd_RToCCS_32f_I) with real and imaginary components interleaved. My problem is what do I do with these complex numbers once i have them? At the moment I'm doing for each value const float realValue = buffer[(y * 2) + 0]; const float imagValue = buffer[(y * 2) + 1]; const float value = sqrt(