aclsysGetCANNVersion (Deprecated)

Note: This API will be deprecated in future releases. Use aclsysGetVersionStr or aclsysGetVersionNum instead.

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

√

Description

Queries the CANN software package version.

Prototype

aclError aclsysGetCANNVersion(aclCANNPackageName name, aclCANNPackageVersion *version)

Parameters

Parameter

Input/Output

Description

name

Input

Software package to query.

If the software package to be queried is not installed, an error is reported.

version

Output

CANN software package version.

Returns

0 on success; else, failure. For details, see aclError.