GetPhyAddr
产品支持情况
产品  | 
是否支持  | 
|---|---|
√  | 
|
√  | 
|
√  | 
|
√  | 
|
√  | 
|
√  | 
|
x  | 
功能说明
返回LocalTensor的地址或指定偏移量后的地址。
函数原型
1 2  | __aicore__ inline uint64_t GetPhyAddr() const __aicore__ inline uint64_t GetPhyAddr(const uint32_t offset) const  | 
参数说明
参数名  | 
输入/输出  | 
描述  | 
|---|---|---|
offset  | 
输入  | 
偏移量。  | 
返回值说明
LocalTensor的地址或指定偏移量后的地址。
约束说明
无
调用示例
参考调用示例。
父主题: LocalTensor