SetCurAddr

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

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

Description

curAddr

Input

Allocated memory address.

Restrictions

None

Returns

None

Example

For details, see Example.