API Changes
To optimize API naming for clarity and ease of understanding, some API names have been changed in the current version compared to CANN 8.5.0 and earlier versions. The following table describes the changes.
Original API Name |
New API Name |
Remarks |
|---|---|---|
ScalarGetCountOfValue |
None |
|
ScalarCountLeadingZero |
None |
|
ScalarGetSFFValue |
None |
|
ScalarCast |
None |
|
ToBfloat16 |
None |
|
ToFloat |
The return type of one overloaded version has been changed from float to a template parameter U, where U defaults to float. |
|
FusedMulAddRelu |
None |
|
CastDeq |
None |
|
CompareScalar |
None |
|
GetAccVal |
None |
|
GetReduceMaxMinCount |
None |
|
SetAtomicNone |
None |
|
InitConstValue |
None |
|
SetMMLayoutTransform |
SetMMLayoutTransform (true) corresponds to SetMMRowMajor(). SetMMLayoutTransform (false) corresponds to SetMMColumnMajor(). |
|
SetHF32Mode |
The API name remains unchanged, and the parameter type is changed from bool to the enumeration HF32Mode. |
|
SetHF32TransMode |
The API name remains unchanged, and the parameter type is changed from bool to the enumeration HF32TransMode. |
|
CalcTschBlockDim |
None |