SetCurAddr

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product AI Core

Atlas inference product Vector Core

x

Atlas training product

Function Usage

Sets the allocated address of the custom TBufPool. For example, if 32 KB buffer space is allocated during initialization and 8 KB buffer is allocated to a TQue, this API needs to be called to ensure that the subsequent buffers are allocated from 8 KB.

Prototype

1
__aicore__ inline void SetCurAddr(uint32_t curAddr)
Table 1 Parameters

Parameter

Input/Output

Meaning

curAddr

Input

Allocated memory address.

Constraints

None

Returns

None

Example

For details, see Example.