GetLocalMemorySize
Description
Obtains the size of the local memory required by an operator.
This API is reserved for subsequent functions. You are not advised to use this API.
Prototype
uint32_t GetLocalMemorySize()
Parameters
None
Returns
Size of the local memory. If SetLocalMemorySize was not called to set the size, 0 is returned.
Restrictions
None
Example
ge::graphStatus Tiling4XXX(TilingContext* context) {
auto local_memory_size = context->GetLocalMemorySize();
// ...
}
Parent topic: TilingContext