When I run my application which built base on the INTEL IPP on an AMD CPU, got the warning message, please see the attached screenshot. Please tell me how to remove it, thanks in advance.
OpenMP environment variables could be easily set in a program andplease take a look at example:[cpp] ... int iRetCode = _putenv( "KMP_AFFINITY=disabled" ); if( iRetCode == 0 ) printf( "KMP_AFFINITY=%sn", getenv( "KMP_AFFINITY" ) ); else printf( "Error: Failed to Set Environment Variable KMP_AFFINITYn" ); ... [/cpp]
We checked the affinity with IPP developer,all ofIPP functions ( primitives) haven'tlow-level affinity settings internally.There is several IPP functions (in Core domain) for low-level affinity control, like ippSetAffinity()for external purposes, but we only use these functions in the sample for Realistic Rendering (RR) domain.
So formost of applications, likePicnic application you won't seesuch problem.
You mentioned, you are using image Filter in dll files, could you please give the function lists you are using orthe exacttest case?
Regarding theproblem of None doesn't work, but Disable works, I discussed withPatrick Kennedy (Intel). he'd like to check this. Could you please tell the result of using (set/export KMP_VERSION=1), then run the application.
or a test case will be helpful.
$ export KMP_AFFINITY=none
$ icc -fopenmp helloOmp.cc && ./a.out
_OPENMP is defined for compiler.
Hello from thread 0 out of 4
Hello from thread 3 out of 4
Hello from thread 1 out of 4
Hello from thread 2 out of 4