SetCurAddr
Product Support
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
√ |
|
x |
|
√ |
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) |
Parameter |
Input/Output |
Description |
|---|---|---|
curAddr |
Input |
Allocated memory address. |
Restrictions
None
Returns
None
Example
For details, see Example.
Parent topic: Customized TBufPool