目录

GetBlockDim

Function Description

Obtains blockDim, which refers to the number of Vector cores or Cube cores involved in computation. For details about the concept and setting method of blockDim, see SetBlockDim.

Function Prototype

uint32_t GetBlockDim() const;

Parameters

None

Return Value

blockDim

Restrictions

None

Calling Example

ge::graphStatus Tiling4XXX(TilingContext* context) {
  auto block_dim = context->GetBlockDim();
  // ...
}