GetCurAddr

Product Support

Product

Supported

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

x

Atlas inference product's AI Core

√

Atlas inference product's Vector Core

x

Atlas training products

√

Function

Obtains the address that has been allocated by the custom TBufPool. You can allocate buffers from this address.

Prototype

1
__aicore__ inline uint32_t GetCurAddr()

Restrictions

None

Returns

Allocated memory address.

Example

For details, see Example.