KBLASGetVersion
Obtain the BLAS version information.
int KBLASGetVersion(KBLASVersion *ver)
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
ver |
Product information structure |
This parameter cannot be left blank. |
Output |
Return Value
- Success: The value 1 is returned.
- Failure: The value 0 is returned.
Examples
#include <stdio.h>
#include "kblas.h"
int main()
{
KBLASVersion* ver = (KBLASVersion*)malloc(sizeof(KBLASVersion));
int status = KBLASGetVersion(ver);
printf("Component : %s\n", ver.component);
printf("Version : %s\n", ver.version);
printf("Support Package Name: %s\n", ver.supportPackage);
printf("Compile Time : %s\n", ver.compileTime);
return 0;
}
Output:
Component : boostkit-kml-blas Version : 1.3.0 Support Package Name: BoostKit-kml-blas_1.3.0 Compile Time : 2021/08/31-12:00
The version number and compile time in the example above are for reference only.
Parent topic: Support Functions