Gets the number of OpenMP* threads targeted for parallelism.
nt = mkl_get_max_threads()
This function returns the number of OpenMP threads available for Intel® oneAPI Math Kernel Library (oneMKL) to use in internal parallel regions.
Name |
Type |
Description |
---|---|---|
nt |
INTEGER*4 |
The maximum number of threads for Intel® oneAPI Math Kernel Library (oneMKL) functions to use in internal parallel regions. |
use mkl_service … if (1 == mkl_get_max_threads()) print *, "Intel MKL does not employ threading"