GetPhyAddr
Product Support
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Returns the address of the LocalTensor, or the address obtained by adding the specified offset to the base address.
Prototype
1 2 | __aicore__ inline uint64_t GetPhyAddr() const __aicore__ inline uint64_t GetPhyAddr(const uint32_t offset) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
offset |
Input |
Offset. |
Returns
Returns the address of the LocalTensor, or the address obtained by adding the specified offset to the base address.
Restrictions
None
Example
For details, see Example.
Parent topic: LocalTensor