Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2019
IW_DECL(int) iwGetThreadsNum();
This function returns the number of threads used by IW functions with parallel execution support.
Number of threads or 0 if compiled without internal threading support.