API Version Description

V1.1.0 is the first AscendCL API version. The later versions involve API changes. You can call aclrtGetVersion to obtain the AscendCL API version number and then view the changed APIs in the API list in this chapter.

The AscendCL API version number is formatted as A.B.C.

  • A indicates that incompatible changes are made. The value starts from 1, and is incremented by 1 when any incompatible change exists.
  • B indicates that new APIs are added. The value is incremented by 1 when any new API is added in an iteration period.
  • C indicates that bugs are fixed. The value starts from 0, and is incremented by 1 only when A and B remain unchanged. If A or B increases, C remains 0.

For details about the enumerated values, data types, and operation APIs supported by the Ascend AI Processor, see Enum Values and Data Structures and Data Types and Operations.

For details about the return codes of the APIs, see aclError. If an API call fails, the outputs of the API are invalid and cannot be used.

For details about API naming conventions, see Conventions.