Function Description
Obtains a typed tiling data pointer.
Function Prototype
template<typename T> T *GetTilingData();
Parameters
| Parameter | Input/Output | Description |
| T | Output | For the tiling data type, sizeof(T) cannot be greater than the maximum tiling data length specified in the compilation result. |
Return Value
Pointer to the tiling data. If the operation fails, a null pointer is returned.
Restrictions
sizeof(T) cannot be greater than the maximum tiling data length specified in the compilation result.
Calling Example
ge::graphStatus Tiling4XXX(TilingContext* context) {
auto tiling_data = context->GetTilingData<int64_t>();
// ...
}