Suggests the number of threads for a particular function domain.
FORTRAN:
ierr = mkl_domain_set_num_threads( num, mask )
C:
ierr = mkl_domain_set_num_threads( num, mask );
Name |
Type |
Description |
---|---|---|
num |
FORTRAN: INTEGER C: int |
Number of threads suggested by user |
mask |
FORTRAN: INTEGER C: int |
Name of the targeted domain |
This function allows you to request different domains of Intel MKL to use different numbers of threads. The currently supported domains are:
This is only a hint, and use of this number of threads is not guaranteed. Enter a valid domain and a positive integer for the number of threads. This routine has precedence over the MKL_DOMAIN_NUM_THREADS environment variable.
See Intel MKL User's Guide for implementation details.
Indicates no error, execution is successful.
Indicates failure, possibly because the inputs were invalid.