Intel® oneAPI Math Kernel Library Developer Reference - C
Returns the Intel® oneAPI Math Kernel Library version in a character string.
void mkl_get_version_string (char* buf, int len);
Name |
Type |
Description |
|---|---|---|
buf |
char* |
Source string |
len |
int |
Length of the source string |
The function returns a string that contains the Intel® oneAPI Math Kernel Library version.
For usage details, see the code example below:
#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;
}