GetSubBlockIdx(ISASI)

Function Usage

Obtains the ID of the vector core on the AI Core.

Prototype

1
__aicore__ inline int64_t GetSubBlockIdx()

Parameters

None

Returns

Returns the vector core ID of the int64 type.

Availability

Atlas A2 training products/Atlas A2 inference products

Atlas A3 training products/Atlas A3 inference products

Constraints

None

Example

1
int64_t subBlockID = AscendC::GetSubBlockIdx();