|
static ReductionKind | mlir::linalg::getReductionKind (Operation *op) |
|
static std::optional< Operation * > | mlir::linalg::getCombinerOp (LinalgOp op) |
|
static ReductionKind | mlir::linalg::getReductionKindOfLinalgOp (LinalgOp op) |
|
static MeshOp | mlir::linalg::getMesh (Operation *op, ArrayRef< MeshSharding > operandShardings, ArrayRef< MeshSharding > resultShardings, SymbolTableCollection &symbolTable) |
|
static Value | mlir::linalg::createDestinationPassingStyleInitOperand (LinalgOp op, Value spmdizedOperand, ArrayRef< MeshAxis > reductionMeshAxes, MeshOp meshOp, ImplicitLocOpBuilder &builder) |
|
static SmallVector< Value > | mlir::linalg::createDestinationPassingStyleInitOperands (LinalgOp op, MeshOp meshOp, ArrayRef< Value > spmdizedOperands, ArrayRef< MeshAxis > reductionMeshAxes, IRMapping &spmdizationMap, ImplicitLocOpBuilder &builder) |
|
static void | mlir::linalg::createAllReduceForResultWithoutPartialSharding (Value unshardedLinalgOpResult, ArrayRef< MeshAxis > opReductionMeshAxes, MeshSharding resultSharding, ReductionKind reductionKind, IRMapping &spmdizationMap, ImplicitLocOpBuilder &builder) |
|
static void | mlir::linalg::createAllReduceForResultsWithoutPartialShardings (LinalgOp unshardedOp, ArrayRef< MeshAxis > opReductionMeshAxes, ArrayRef< MeshSharding > resultShardings, IRMapping &spmdizationMap, ImplicitLocOpBuilder &builder) |
|
static void | mlir::linalg::spmdizeLinalgOpWithShardedReduction (LinalgOp op, ArrayRef< Value > spmdizedOperands, ArrayRef< MeshSharding > operandShardings, ArrayRef< MeshSharding > resultShardings, ArrayRef< utils::IteratorType > loopIteratorTypes, ArrayRef< SmallVector< MeshAxis >> meshAxisAssignmentForLoopIterators, IRMapping &spmdizationMap, SymbolTableCollection &symbolTable, ImplicitLocOpBuilder &builder) |
|
template<typename OpType > |
static void | mlir::linalg::registerOne (MLIRContext *ctx) |
|
template<typename... OpTypes> |
static void | mlir::linalg::registerAll (MLIRContext *ctx) |
| Variadic helper function. More...
|
|
void | mlir::linalg::registerMeshShardingInterfaceExternalModels (DialectRegistry ®istry) |
|