Link Copied
Hi songzhe,
Thanks for your report. We are checking this problem now. Does it only happen with ippsZero_8u function, or you find the problem when you call other IPP function?
Thanks,
Chao
Hi,
The AVX instruction needs explicit operating system support: http://en.wikipedia.org/wiki/Advanced_Vector_Extensions
Could you please check this version Linux distribution support the AVX instructions?
Also, Could you please remove the following code, this will force IPP run AVX instruction.
IppCpuType cpuType = ippGetCpuType();
if(ippInitCpu(cpuType) != ippStsNoErr)
printf("ippInitCpu(%d) failed", cpuType);
else
printf("ippInitCpu(%d) successed", cpuType);
Instead, you can use ippInit() function to let IPP select the dispatching code.
Thanks,
Chao
For more complete information about compiler optimizations, see our Optimization Notice.