UpdateKfcWorkspace
Product Support
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
x |
|
x |
|
x |
Function
Updates the memory address of the CubeResGroupHandle message communication area. You need to use this API to manage the space address when using CubeResGroupHandle.
Prototype
1 | __aicore__ inline void UpdateKfcWorkspace(uint32_t offset) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
offset |
Input |
The number of bytes to offset from the current address of the workspace. |
Returns
None
Restrictions
This API cannot be used together with CreateCubeResGroup.
Example
1 2 | AscendC::KfcWorkspace desc(workspaceGM); desc.UpdateKfcWorkspace(1024); |
Parent topic: KfcWorkspace