GetKfcWorkspace
Product Support
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
x |
|
x |
|
x |
Function
Obtains 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 GM_ADDR GetKfcWorkspace() |
Parameters
None
Returns
Workspace address
Restrictions
This API cannot be used together with CreateCubeResGroup.
Example
1 2 | AscendC::KfcWorkspace desc(workspaceGM); GM_ADDR workspace = desc.GetKfcWorkspace(); |
Parent topic: KfcWorkspace