KSPBLASGetVersion
Obtain the SPBLAS version information.
int KSPBLASGetVersion(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 "kspblas.h"
int main()
{
KSPBLASVersion* ver = (KSPBLASVersion*)malloc(sizeof(KSPBLASVersion));
int status = KSPBLASGetVersion(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-spblas Version : 1.3.0 Support Package Name: BoostKit-kml-spblas_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