Inquires about the number of threads targeted for parallelism in different domains.
FORTRAN:
ierr = mkl_domain_get_max_threads( mask )
C:
ierr = mkl_domain_get_max_threads( mask );
Name |
Type |
Description |
---|---|---|
mask |
FORTRAN: INTEGER C: int |
The name of the targeted domain |
This function allows the user of different domains of Intel MKL to inquire what number of threads is being used as a hint. The inquiry does not imply that this is the actual number of threads used. The number may vary depending on the value of the MKL_DYNAMIC variable and/or problem size, system resources, etc. But the function returns the value that MKL is targeting for a given domain.
The currently supported domains are:
You are supposed to enter a valid domain.
See Intel MKL User's Guide for implementation details.
Returns the hint about the number of threads for a given domain.