MLIR
20.0.0git
|
#include "mlir/Dialect/Mesh/Interfaces/ShardingInterfaceImpl.h"
Public Member Functions | |
SmallVector< utils::IteratorType > | getLoopIteratorTypes (Operation *op) const |
SmallVector< AffineMap > | getIndexingMaps (Operation *op) const |
LogicalResult | spmdize (Operation *op, ArrayRef< Value > spmdizedOperands, ArrayRef< MeshSharding > operandShardings, ArrayRef< MeshSharding > resultShardings, IRMapping &spmdizationMap, SymbolTableCollection &symbolTable, OpBuilder &builder) const |
Definition at line 106 of file ShardingInterfaceImpl.h.
|
inline |
Definition at line 119 of file ShardingInterfaceImpl.h.
References mlir::Operation::getContext(), mlir::AffineMap::getMultiDimIdentityMap(), mlir::Operation::getNumOperands(), mlir::Operation::getNumResults(), mlir::Operation::getOperand(), and mlir::Value::getType().
|
inline |
Definition at line 109 of file ShardingInterfaceImpl.h.
References mlir::Operation::getOperand(), and mlir::Value::getType().
|
inline |
Definition at line 132 of file ShardingInterfaceImpl.h.
References mlir::mesh::spmdizeTriviallyShardableOperation().