GetPhyAddr
产品支持情况
功能说明
返回LocalTensor的地址或指定偏移量后的地址。
函数原型
__aicore__ inline uint64_t GetPhyAddr() const
__aicore__ inline uint64_t GetPhyAddr(const uint32_t offset) const
参数说明
表 1 参数说明
返回值说明
LocalTensor的地址或指定偏移量后的地址。
约束说明
无
调用示例
参考调用示例。
返回LocalTensor的地址或指定偏移量后的地址。
__aicore__ inline uint64_t GetPhyAddr() const
__aicore__ inline uint64_t GetPhyAddr(const uint32_t offset) const
表 1 参数说明
LocalTensor的地址或指定偏移量后的地址。
无
参考调用示例。