MLIR  21.0.0git
Namespaces | Macros | Variables
XeGPUSubgroupDistribute.cpp File Reference
#include "mlir/Analysis/DataFlow/ConstantPropagationAnalysis.h"
#include "mlir/Analysis/DataFlow/DeadCodeAnalysis.h"
#include "mlir/Analysis/DataFlow/SparseAnalysis.h"
#include "mlir/Analysis/DataFlowFramework.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/Dialect/XeGPU/IR/XeGPU.h"
#include "mlir/Dialect/XeGPU/Transforms/Passes.h"
#include "mlir/Dialect/XeGPU/Transforms/Transforms.h"
#include "mlir/IR/Builders.h"
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/XeGPU/Transforms/Passes.h.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::xegpu
 

Macros

#define GEN_PASS_DEF_XEGPUSUBGROUPDISTRIBUTE
 

Variables

constexpr unsigned subgroupSize = 16
 HW dependent constants. More...
 
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
 

Macro Definition Documentation

◆ GEN_PASS_DEF_XEGPUSUBGROUPDISTRIBUTE

#define GEN_PASS_DEF_XEGPUSUBGROUPDISTRIBUTE

Definition at line 25 of file XeGPUSubgroupDistribute.cpp.

Variable Documentation

◆ packedSizeInBitsForDefault

constexpr unsigned 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 38 of file XeGPUSubgroupDistribute.cpp.

◆ packedSizeInBitsForDpasB

constexpr unsigned packedSizeInBitsForDpasB
constexpr
Initial value:
=
32

Definition at line 40 of file XeGPUSubgroupDistribute.cpp.

◆ subgroupSize

constexpr unsigned subgroupSize = 16
constexpr

HW dependent constants.

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

Definition at line 35 of file XeGPUSubgroupDistribute.cpp.

Referenced by mlir::spirv::getEntryPointABIAttr(), lowerEntryPointABIAttr(), mlir::populateGpuLowerClusteredSubgroupReduceToShufflePatterns(), and mlir::populateGpuLowerSubgroupReduceToShufflePatterns().