#include "mlir/Dialect/XeGPU/uArch/uArchBase.h"
|
virtual llvm::SmallVector< std::pair< uint32_t, uint32_t >, 16 > | getSupportedShapes (Type dataType, MMAOpndKind matrixType)=0 |
|
virtual llvm::SmallVector< Type, 8 > | getSupportedTypes (MLIRContext &context, MMAOpndKind matrixType)=0 |
|
virtual bool | checkSupportedShapesAndTypes (std::pair< uint32_t, uint32_t > AShape, std::pair< uint32_t, uint32_t > BShape, std::pair< uint32_t, uint32_t > CShape, std::pair< uint32_t, uint32_t > DShape, Type AType, Type BType, Type CType, Type DType)=0 |
|
virtual bool | checkSupportedTypes (Type AType, Type BType, Type CType, Type DType)=0 |
|
virtual bool | validate (std::pair< uint32_t, uint32_t > AShape, std::pair< uint32_t, uint32_t > BShape, std::pair< uint32_t, uint32_t > CShape, std::pair< uint32_t, uint32_t > DShape, Type AType, Type BType, Type CType, Type DType)=0 |
|
virtual llvm::SmallVector< uint32_t, 8 > | getSupportedM (Type type)=0 |
|
virtual llvm::SmallVector< uint32_t, 8 > | getSupportedK (Type type)=0 |
|
virtual llvm::SmallVector< uint32_t, 8 > | getSupportedN (Type type)=0 |
|
virtual | ~MMAInstructionInterface ()=default |
|
Definition at line 222 of file uArchBase.h.
◆ ~MMAInstructionInterface()
virtual mlir::xegpu::uArch::MMAInstructionInterface::~MMAInstructionInterface |
( |
| ) |
|
|
virtualdefault |
◆ checkSupportedShapesAndTypes()
virtual bool mlir::xegpu::uArch::MMAInstructionInterface::checkSupportedShapesAndTypes |
( |
std::pair< uint32_t, uint32_t > |
AShape, |
|
|
std::pair< uint32_t, uint32_t > |
BShape, |
|
|
std::pair< uint32_t, uint32_t > |
CShape, |
|
|
std::pair< uint32_t, uint32_t > |
DShape, |
|
|
Type |
AType, |
|
|
Type |
BType, |
|
|
Type |
CType, |
|
|
Type |
DType |
|
) |
| |
|
pure virtual |
◆ checkSupportedTypes()
virtual bool mlir::xegpu::uArch::MMAInstructionInterface::checkSupportedTypes |
( |
Type |
AType, |
|
|
Type |
BType, |
|
|
Type |
CType, |
|
|
Type |
DType |
|
) |
| |
|
pure virtual |
◆ getSupportedK()
virtual llvm::SmallVector<uint32_t, 8> mlir::xegpu::uArch::MMAInstructionInterface::getSupportedK |
( |
Type |
type | ) |
|
|
pure virtual |
◆ getSupportedM()
virtual llvm::SmallVector<uint32_t, 8> mlir::xegpu::uArch::MMAInstructionInterface::getSupportedM |
( |
Type |
type | ) |
|
|
pure virtual |
◆ getSupportedN()
virtual llvm::SmallVector<uint32_t, 8> mlir::xegpu::uArch::MMAInstructionInterface::getSupportedN |
( |
Type |
type | ) |
|
|
pure virtual |
◆ getSupportedShapes()
virtual llvm::SmallVector<std::pair<uint32_t, uint32_t>, 16> mlir::xegpu::uArch::MMAInstructionInterface::getSupportedShapes |
( |
Type |
dataType, |
|
|
MMAOpndKind |
matrixType |
|
) |
| |
|
pure virtual |
◆ getSupportedTypes()
◆ validate()
virtual bool mlir::xegpu::uArch::MMAInstructionInterface::validate |
( |
std::pair< uint32_t, uint32_t > |
AShape, |
|
|
std::pair< uint32_t, uint32_t > |
BShape, |
|
|
std::pair< uint32_t, uint32_t > |
CShape, |
|
|
std::pair< uint32_t, uint32_t > |
DShape, |
|
|
Type |
AType, |
|
|
Type |
BType, |
|
|
Type |
CType, |
|
|
Type |
DType |
|
) |
| |
|
pure virtual |
The documentation for this struct was generated from the following file: