KLAPACKGetVersion
Obtain the LAPACK version information.
Interface Definition
int KLAPACKGetVersion(KLAPACKVersion *ver);
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
ver |
Pointer to the KLAPACKVerison structure |
Storage version information. This parameter cannot be left blank. |
Input/output |
Dependencies
#include "kml_service.h"
#include "klapack.h"
Examples
int main()
{
KLAPACKVersion *ver = (KLAPACKVersion*)malloc(sizeof(KLAPACKVersion));
int res = KLAPACKGetVersion(ver);
if (res != 0) {
printf("Get version error.\n");
return 0;
}
printf("Version: %s\nCompileTime: %s\nPACKAGE: %s\nSUPPORT PACKAGE: %s\n",
ver->version, ver->compileTime, ver->component, ver->supportPackage);
return 0;
}
Command output:
Version: 1.3.0 Compile Time: 2021/09/13-15:10 PACKAGE: boostkit-kml-lapack SUPPORT PACKAGE: BoostKit-kml-lapack_1.3.0
The version number and compile time in the example above are for reference only.
Parent topic: Support Functions