Gets the library version string.
Fortran:
call mkl_get_version_string( buf )
C:
mkl_get_version_string( buf, len );
The FORTRAN 77 interface is specified in the mkl_service.fi include file and the C interface is specified in the mkl_service.h include file.
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:
program mkl_get_version_string
character*198 buf
call mkl_get_version_string(buf)
write(*,'(a)') buf
end
#include <stdio.h>
#include "mkl_blas.h"
int main(void)
{
int len=198;
char buf[198];
mkl_get_version_string(buf, len);
printf("%s\n",buf);
printf("\n");
return 0;
}
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.