Returns current value of MKL_DYNAMIC variable.
Fortran:
ret = mkl_get_dynamic()
C:
ret = mkl_get_dynamic();
The FORTRAN 77 interface is specified in the mkl_service.fi include file and the C interface is specified in the mkl_service.h include file.
This function returns the current value of the MKL_DYNAMIC variable. This variable can be changed by manipulating the MKL_DYNAMIC environment variable before the MKL run is launched or by calling mkl_set_dynamic(). Doing the latter has precedence over the former.
The function returns a value of 0 or 1: 1 indicates that MKL_DYNAMIC is true, 0 indicates that MKL_DYNAMIC is false. This variable indicates whether or not Intel MKL can dynamically change the number of threads. A value of false does not guarantee that the user's requested number of threads will be used. But it means that Intel MKL will attempt to use that value.
Note that if MKL is called from within a parallel region, MKL may not thread unless MKL_DYNAMIC is set to false, either with the environment variable or by this routine call.
See Intel MKL User's Guide for implementation details.
Indicates MKL_DYNAMIC is true.
Indicates MKL_DYNAMIC is false.
Copyright © 1994 - 2010, Intel Corporation. All rights reserved.