MLIR  22.0.0git
Variables
mlir::xegpu::targetinfo Namespace Reference

HW dependent constants. More...

Variables

constexpr unsigned subgroupSize = 16
 
constexpr unsigned packedSizeInBitsForDefault
 If DPAS A or B operands have low precision element types they must be packed according to the following sizes. More...
 
constexpr unsigned packedSizeInBitsForDpasB
 
constexpr unsigned packedSizeInBitsForGatherScatter
 

Detailed Description

HW dependent constants.

TODO: These constants should be queried from the target information.

Variable Documentation

◆ packedSizeInBitsForDefault

constexpr unsigned mlir::xegpu::targetinfo::packedSizeInBitsForDefault
constexpr
Initial value:
=
16

If DPAS A or B operands have low precision element types they must be packed according to the following sizes.

Definition at line 20 of file XeGPUTargetInfo.h.

◆ packedSizeInBitsForDpasB

constexpr unsigned mlir::xegpu::targetinfo::packedSizeInBitsForDpasB
constexpr
Initial value:
=
32

Definition at line 22 of file XeGPUTargetInfo.h.

◆ packedSizeInBitsForGatherScatter

constexpr unsigned mlir::xegpu::targetinfo::packedSizeInBitsForGatherScatter
constexpr
Initial value:
=
32

Definition at line 24 of file XeGPUTargetInfo.h.

◆ subgroupSize

constexpr unsigned mlir::xegpu::targetinfo::subgroupSize = 16
constexpr