GetAicpuBlockDim

Function Usage

Obtains the configured number of AI CPU cores that can be scheduled. For details about the setting method, see SetAicpuBlockDim.

This parameter will be deprecated in later versions. You are advised to use GetAicpuNumBlocks instead.

Prototype

uint32_t GetAicpuBlockDim() const

Parameters

None

Returns

Configured number of AI CPU cores that can be scheduled.

Constraints

None

Examples

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