GetSubBlockIdx(ISASI)
产品支持情况
产品 |
是否支持 |
---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
|
x |
|
x |
功能说明
获取AI Core上Vector核的ID。
函数原型
1 | __aicore__ inline int64_t GetSubBlockIdx() |
参数说明
无
返回值
返回int64_t类型的Vector核ID。
约束说明
无
调用示例
1 | int64_t subBlockID = AscendC::GetSubBlockIdx(); |
父主题: 系统变量访问