GetLocalMemorySize
Function Usage
Obtains the size of the dynamic unified buffer required for SIMT operators.
This API has been deprecated and will be removed in later versions. Use GetDynUBufSize to obtain the size of the dynamic unified buffer required.
Prototype
uint32_t GetLocalMemorySize()
Parameters
None
Returns
Size of the local memory. If SetLocalMemorySize was not called to set the size, 0 is returned.
Constraints
None
Examples
ge::graphStatus Tiling4XXX(TilingContext* context) {
auto local_memory_size = context->GetLocalMemorySize();
// ...
}
Parent topic: TilingContext