MLIR
20.0.0git
|
Helper struct to provide a simple mapping from matmul operations to the corresponding mma.sync operation. More...
Public Types | |
using | IndexCalculator = std::function< SmallVector< RowColIndexing >(MLIRContext *)> |
Public Member Functions | |
MmaSyncBuilder (OpBuilder &b, Location loc, OpFoldResult laneId) | |
FailureOr< Operation * > | buildMmaSync (LinalgOp linalgOp) |
Create the mma.sync operation corresponding to linalgOp along with all the supporting load/store and vector operations. More... | |
Helper struct to provide a simple mapping from matmul operations to the corresponding mma.sync operation.
This is constrained to the case where the matmul matches the mma.sync operation 1-1.
Definition at line 446 of file NVGPUTransformOps.cpp.
using MmaSyncBuilder::IndexCalculator = std::function<SmallVector<RowColIndexing>(MLIRContext *)> |
Definition at line 450 of file NVGPUTransformOps.cpp.
|
inline |
Definition at line 447 of file NVGPUTransformOps.cpp.
FailureOr< Operation * > MmaSyncBuilder::buildMmaSync | ( | LinalgOp | linalgOp | ) |
Create the mma.sync operation corresponding to linalgOp
along with all the supporting load/store and vector operations.
Definition at line 778 of file NVGPUTransformOps.cpp.
References mlir::Value::getType().