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