Suggests the number of threads to use.
FORTRAN:
call mkl_set_num_threads( number )
C:
void mkl_set_num_threads( number );
Name |
Type |
Description |
---|---|---|
number |
FORTRAN: INTEGER C: int |
Number of threads suggested by user |
This function allows you to specify how many threads Intel MKL should use. The number is a hint, and there is no guarantee that exactly this number of threads will be used. Enter a positive integer. This routine takes precedence over the MKL_NUM_THREADS environment variable.
Always remember to add #include "mkl.h" to use the C usage syntax.
See Intel MKL User's Guide for implementation details.