Intel® Math Kernel Library (Intel® MKL) support functions are used to:
- retrieve information about the current Intel MKL version
- additionally control the number of threads
- handle errors
- test characters and character strings for equality
- measure user time for a process and elapsed CPU time
- measure CPU frequency
- free memory allocated by Intel MKL memory management software
- facilitate easy linking
Functions described below are subdivided according to their purpose into the following groups:
Miscellaneous Utility Functions
Functions Supporting the Single Dynamic Library
Table "Intel MKL Support Functions" contains the list of support functions common for Intel MKL.
Function Name |
Operation |
---|---|
Version Information Functions |
|
Returns information about the active library version. |
|
Returns information about the library version string. |
|
Threading Control Functions |
|
Suggests the number of threads to use. |
|
Suggests the number of threads for a particular function domain. |
|
Enables Intel MKL to dynamically change the number of threads. |
|
Inquires about the number of threads targeted for parallelism. |
|
Inquires about the number of threads targeted for parallelism in different domains. |
|
Returns the current value of the MKL_DYNAMIC variable. |
|
Error Handling Functions |
|
Handles error conditions for the BLAS, LAPACK, VSL, VML routines. |
|
Handles error conditions for the ScaLAPACK routines. |
|
Equality Test Functions |
|
Tests two characters for equality regardless of the case. |
|
Tests two character strings for equality regardless of the case. |
|
Timing Functions |
|
Returns user time for a process. |
|
Returns full precision elapsed CPU clocks. |
|
Returns CPU frequency value in GHz. |
|
Returns the maximum CPU frequency value in GHz. |
|
Returns the frequency value in GHz based on constant-rate Time Stamp Counter. |
|
Memory Functions |
|
Frees memory buffers. |
|
Frees memory buffers allocated only in the current thread. |
|
Reports an amount of memory utilized by Intel MKL memory management software. |
|
Enables Intel MKL to dynamically turn off memory management. |
|
Allocates the aligned memory buffer. |
|
Frees the aligned memory buffer allocated by MKL_malloc. |
|
Miscellaneous Utility Functions |
|
Tracks computational progress of selective MKL routines. |
|
Allows Intel MKL to dispatch Intel® Advanced Vector Extensions (Intel® AVX) if run on the respective hardware (or simulation). |
|
Functions Supporting the Single Dynamic Library (SDL) |
|
Sets the interface layer for Intel MKL at run time. |
|
Sets the threading layer for Intel MKL at run time. |
|
Replaces the error handling routine. Use with SDL on Windows* OS. |
|
Replaces the progress information routine. Use with SDL on Windows* OS. |
|