Visible to Intel only — GUID: GUID-FDD5C8D5-2100-4A2F-8161-0A3D94C3CB08
Visible to Intel only — GUID: GUID-FDD5C8D5-2100-4A2F-8161-0A3D94C3CB08
GetNumThreads
Returns the number of existing threads in the multithreading environment.
Syntax
IppStatus ippcpGetNumThreads(int* pNumThr);
Include Files
ippcp.h
Parameters
pNumThr |
Pointer to the number of threads. |
Description
This function returns the number of OpenMP* threads specified by the user previously. If it is not specified, the function returns the initial number of threads that depends on the number of logical processors.
Return Values
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition when the pNumThr pointer is NULL. |
ippStsNoOperation |
Indicates that there is no such operation in the static version of the library. |