Developer Reference for IntelĀ® Integrated Performance Primitives Cryptography
Sets the number of threads in the multithreading environment.
IppStatus ippcpSetNumThreads(int numThr);
ippcp.h
numThr |
Number of threads, should be more than zero. |
This function sets the number of OpenMP* threads. A number of established threads may be less than specified numThr.
ippStsNoErr |
Indicates no error. |
ippStsSizeErr |
Indicates an error when numThr is less than, or equal to zero. |
ippStsNoOperation |
Indicates that the function is called from the application linked to the single-threaded version of the library. No operation is performed. |