|
MLIR 22.0.0git
|
Helper struct to provide a simple mapping from matmul operations to the corresponding mma.sync operation. More...
Public Types | |
| using | IndexCalculator |
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. | |
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 440 of file NVGPUTransformOps.cpp.
Definition at line 444 of file NVGPUTransformOps.cpp.
|
inline |
Definition at line 441 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 772 of file NVGPUTransformOps.cpp.
References mlir::Value::getDefiningOp(), mlir::getElementTypeOrSelf(), mlir::Value::getType(), lhs, and rhs.