Developer Reference for Intel® oneAPI Math Kernel Library for C
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-616D69D7-0F34-4E86-9344-E231FC53E445
Visible to Intel only — GUID: GUID-616D69D7-0F34-4E86-9344-E231FC53E445
mkl_get_version_string
Returns the Intel® oneAPI Math Kernel Library (oneMKL) version in a character string.
Syntax
void mkl_get_version_string (char* buf, int len);
Include Files
- mkl.h
Output Parameters
Name |
Type |
Description |
---|---|---|
buf |
char* |
Source string |
len |
int |
Length of the source string |
Description
The function returns a string that contains the Intel® oneAPI Math Kernel Library (oneMKL) version.
For usage details, see the code example below:
Example
#include <stdio.h> #include "mkl.h" int main(void) { int len=198; char buf[198]; mkl_get_version_string(buf, len); printf("%s\n",buf); printf("\n"); return 0; }