Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 10/31/2024
Public
Document Table of Contents

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; 
}