PlatformInfo
Function Usage
Sets the PlatformInfo platform information.
Prototype
1 | OpTilingContextBuilder &PlatformInfo(const void *platform_info) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
platform_info |
Input |
Pointer to platform information. |
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