Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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