SetSimdNumBlocks
Function Usage
Sets the number of SIMD blocks, which refers to the number of Vector cores or Cube cores involved in computation.
Prototype
1
|
ge::graphStatus SetSimdNumBlocks(const uint32_t num_blocks) |
Parameters
Returns
ge::GRAPH_SUCCESS on success.
For details about the definition of graphStatus, see ge::graphStatus.
Constraints
None
Examples
1 2 3 4 |
ge::graphStatus Tiling4XXX(TilingContext* context) { auto ret = context->SetSimdNumBlocks(32); // ... } |
Parent topic: TilingContext