MLIR  20.0.0git
Public Member Functions | List of all members
mlir::mesh::ElementwiseShardingInterface< ElemwiseOp > Struct Template Reference

#include "mlir/Dialect/Mesh/Interfaces/ShardingInterfaceImpl.h"

+ Inheritance diagram for mlir::mesh::ElementwiseShardingInterface< ElemwiseOp >:

Public Member Functions

SmallVector< utils::IteratorType > getLoopIteratorTypes (Operation *op) const
 
SmallVector< AffineMapgetIndexingMaps (Operation *op) const
 
LogicalResult spmdize (Operation *op, ArrayRef< Value > spmdizedOperands, ArrayRef< MeshSharding > operandShardings, ArrayRef< MeshSharding > resultShardings, IRMapping &spmdizationMap, SymbolTableCollection &symbolTable, OpBuilder &builder) const
 

Detailed Description

template<typename ElemwiseOp>
struct mlir::mesh::ElementwiseShardingInterface< ElemwiseOp >

Definition at line 106 of file ShardingInterfaceImpl.h.

Member Function Documentation

◆ getIndexingMaps()

template<typename ElemwiseOp >
SmallVector<AffineMap> mlir::mesh::ElementwiseShardingInterface< ElemwiseOp >::getIndexingMaps ( Operation op) const
inline

◆ getLoopIteratorTypes()

template<typename ElemwiseOp >
SmallVector<utils::IteratorType> mlir::mesh::ElementwiseShardingInterface< ElemwiseOp >::getLoopIteratorTypes ( Operation op) const
inline

◆ spmdize()

template<typename ElemwiseOp >
LogicalResult mlir::mesh::ElementwiseShardingInterface< ElemwiseOp >::spmdize ( Operation op,
ArrayRef< Value spmdizedOperands,
ArrayRef< MeshSharding operandShardings,
ArrayRef< MeshSharding resultShardings,
IRMapping spmdizationMap,
SymbolTableCollection symbolTable,
OpBuilder builder 
) const
inline

The documentation for this struct was generated from the following file: