GetDynUBufSize

Function Usage

Obtains the size of the dynamic unified buffer for SIMT operators.

This API is reserved for subsequent functions. You are not advised to use this API.

Prototype

uint32_t GetDynUBufSize()

Parameters

None

Returns

Size of the dynamic unified buffer. If SetDynUBufSize was not called to set the size, 0 is returned.

Constraints

None

Examples

ge::graphStatus Tiling4XXX(TilingContext* context) {
    // ...
    auto dyn_ubuf_size = context->GetDynUBufSize();
}