Intel® Math Kernel Library 2019 Developer Reference - Fortran
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 MKL to use in internal parallel regions.
Name |
Type |
Description |
|---|---|---|
nt |
INTEGER*4 |
The maximum number of threads for Intel MKL functions to use in internal parallel regions. |
use mkl_service … if (1 == mkl_get_max_threads()) print *, "Intel MKL does not employ threading"