获取全局数据的地址。
1
__aicore__ inline const __gm__ PrimType* GetPhyAddr() const
__aicore__ inline __gm__ PrimType* GetPhyAddr(const uint64_t offset) const
参数名
输入/输出
描述
offset
输入
偏移offset个元素。
全局数据的地址。
Atlas 训练系列产品
Atlas 推理系列产品AI Core
Atlas 推理系列产品Vector Core
Atlas A2 训练系列产品/Atlas 800I A2 推理产品/A200I A2 Box 异构组件
Atlas 200I/500 A2 推理产品
无。