GetDynUBufSize

Function Usage

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

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();
}