KLAPACKGetVersion
Obtain the LAPACK version information.
Interface Definition
int KLAPACKGetVersion(KLAPACKVersion *ver);
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
ver |
Pointer to the KLAPACKVersion structure |
Storage version information. This parameter value cannot be NULL. |
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("Component Name: %s\nComponent Version: %s\nSoftware Name: %s\nSoftware Version: %s\n",
ver->componentName, ver->componentVersion, ver->softwareName, ver->softwareVersion);
return 0;
}
Command output:
Component Name: BoostKit-kml Component Version: 1.6.0 Software Name: boostkit-kml-lapack Software Version: 1.6.0
The version number in the example above are for reference only.
Parent topic: Support Functions