Gets the library version string.
FORTRAN:
call mkl_get_version_string( buf )
C:
mkl_get_version_string( buf, len );
Name |
Type |
Description |
---|---|---|
buf |
FORTRAN: CHARACTER*198 C: char* |
Source string |
len |
FORTRAN: INTEGER C: int |
Length of the source string |
The function returns a string that contains the library version information.
MKLGetVersionString is an obsolete name for the mkl_get_version_string function that is referenced in the library for back compatibility purposes but is deprecated and subject to removal in subsequent releases.
See example below:
Fortran Example
program mkl_get_version_string
character*198 buf
call mkl_get_version_string(buf)
write(*,'(a)') buf
end
C Example
#include <stdio.h> #include "mkl_service.h" int main(void) { int len=198; char buf[198]; mkl_get_version_string(buf, len); printf("%s\n",buf); printf("\n"); return 0; }