GetSubBlockIdx

功能说明

获取AI Core上Vector核的ID。

函数原型

__aicore__ inline int64_t GetSubBlockIdx()

参数说明

返回值

返回int64类型的Vector核ID。

支持的型号

Atlas A2训练系列产品

约束说明

调用示例

int64_t subBlockID = GetSubBlockIdx();