SetBlockDim
Function Usage
Sets blockDim, which refers to the number of Vector cores or Cube cores involved in computation.
This parameter will be deprecated in later versions. You are advised to use SetSimdNumBlocks instead.
Prototype
ge::graphStatus SetBlockDim(const uint32_t block_dim)
Parameters
Returns
ge::GRAPH_SUCCESS on success.
For details about the definition of graphStatus, see ge::graphStatus.
Constraints
None
Examples
ge::graphStatus Tiling4XXX(TilingContext* context) {
auto ret = context->SetBlockDim(32);
// ...
}
Parent topic: TilingContext