Workspace
Function Usage
Sets the workspace memory pointer. Multiple workspace addresses can be passed.
Prototype
1 | OpTilingContextBuilder &Workspace(const gert::ContinuousVector *workspace) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
workspace |
Input |
ContinuousVector * structure. Each element corresponds to a workspace pointer. |
Returns
A reference to the OpTilingContextBuilder object. It is used for chaining method calls.
Constraints
- This API must be called before the Build method call. Otherwise, the constructed TilingContext will contain undefined data.
- The caller has the memory ownership of the void* parameter passed through a pointer. They must ensure that the pointer is valid throughout the lifecycle of the ContextHolder object.
Parent topic: OpTilingContextBuilder