GetSubBlockIdx(ISASI)
产品支持情况
产品
|
是否支持
|
Ascend 950PR/Ascend 950DT
|
√
|
Atlas A3 训练系列产品/Atlas A3 推理系列产品
|
√
|
Atlas A2 训练系列产品/Atlas A2 推理系列产品
|
√
|
Kirin X90
|
√
|
Kirin 9030
|
√
|
功能说明
获取AI Core上Vector核的ID。
函数原型
__aicore__ inline int64_t GetSubBlockIdx()
参数说明
无
返回值说明
返回Vector核ID。
约束说明
无
调用示例
int64_t subBlockID = AscendC::GetSubBlockIdx();