KSVMLGetVersion
Obtain the SVML version information.
int KSVMLGetVersion(KSVMLVersion *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 "ksvml.h"
int main()
{
KSVMLVersion* ver = (KSVMLVersion*)malloc(sizeof(KSVMLVersion));
int status = KSVMLGetVersion(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-svml Version : 1.3.0 Support Package Name: BoostKit-kml-svml_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: Function Syntax