hi_mpi_dvpp_get_version

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Returns the version number. The version number is formatted as A.B.C, where A indicates incompatible changes, B indicates new APIs, and C indicates the patch version.

Prototype

hi_s32 hi_mpi_dvpp_get_version(hi_s32 *major_version, hi_s32 *minor_version, hi_s32 *patch_version)

Parameters

Parameter

Input/Output

Description

major_version

Output

Pointer to the major version number. The value starts from 1 and is incremented by 1 if an incompatible interface change occurs.

minor_version

Output

Pointer to the secondary version number. The value starts from 0 and is incremented by 1 when an interface is added based on the iteration period.

patch_version

Output

Pointer to the patch version. The value starts from 0, indicating that this version has only fixed the bugs. The value is incremented by 1 if major_version and minor_version remain unchanged, and remains at 0 when major_version and minor_version increase.

Returns