Developer Reference for Intel® oneAPI Math Kernel Library for C
mkl_get_version
Returnsthe Intel® oneAPI Math Kernel Library (oneMKL) version.
Syntax
void mkl_get_version( MKLVersion* pVersion );
Include Files
- mkl.h
 
Output Parameters
- pVersion
 -  
     
Pointer to the MKLVersion structure.
 
Description
The mkl_get_version function collects information about the active version of the Intel® oneAPI Math Kernel Library (oneMKL) software and returns this information in a structure of type MKLVersion by the pVersion address. The MKLVersion structure type is defined in the mkl_types.h file. The following fields of the MKLVersion structure are available:
MajorVersion  |  
      is the Intel® oneMKL major version.  |  
     
MinorVersion  |  
      is 0 for backward compatibility.  |  
     
UpdateVersion  |  
      is the Intel® oneMKL update version.  |  
     
PatchVersion  |  
      is the Intel® oneMKL patch version.  |  
     
ProductStatus  |  
      is the status of Intel® oneMKL. The value is usually "Product".  |  
     
Build  |  
      is the build date.  |  
     
Platform  |  
      is the current architecture ("Intel(R) 64 architecture").  |  
     
Processor  |  
      is the processor optimization. Normally it is targeted for the processor installed on your system and based on the detection of the Intel® oneAPI Math Kernel Library (oneMKL) library that is optimal for the installed processor. In the Conditional Numerical Reproducibility (CNR) mode, the processor optimization matches the selected CNR branch.  |  
     
Product and Performance Information  |  
       
|---|
Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex. Notice revision #20201201  |  
       
mkl_get_version Usage
----------------------------------------------------------------------------------------------