Function: get_version
C Prototype |
aclError aclrtGetVersion(int32_t *majorVersion, int32_t *minorVersion, int32_t *patchVersion) |
|---|---|
Python Function |
major_version, minor_version, patch_version, ret = acl.get_version() |
Function Usage |
Returns the version number. The pyACL version ID can be formatted as A.B.C, where A indicates incompatible changes, B indicates new APIs, and C indicates the patch version. |
Input Description |
None |
Return Value |
major_version: int, major version. The value starts from 1 and is incremented by 1 with each incompatible API change. minor_version: int, minor version. The value starts from 0 and is incremented by 1 with each newly added API. patch_version: int, patch version. The value starts from 0, indicating that this version has only fixed bugs. The value is incremented by 1 if the majorVersion and minorVersion remain unchanged. When the majorVersion and minorVersion increase, this parameter remains at 0. ret: int, error code.
|
Restrictions |
None |