MLIR  20.0.0git
Functions
mlir::mesh::detail Namespace Reference

Functions

FailureOr< ShardingOptiondefaultGetShardingOption (Operation *op, ArrayRef< MeshSharding > operandShardings, ArrayRef< MeshSharding > resultShardings)
 
FailureOr< std::vector< MeshSharding > > defaultGetShardingAnnotations (Operation *op, const ShardingOption &shardingOption)
 
LogicalResult defaultAddShardingAnnotations (Operation *op, OpBuilder &b, const ShardingOption &shardingOption)
 

Function Documentation

◆ defaultAddShardingAnnotations()

LogicalResult mlir::mesh::detail::defaultAddShardingAnnotations ( Operation op,
OpBuilder b,
const ShardingOption shardingOption 
)

◆ defaultGetShardingAnnotations()

FailureOr< std::vector< MeshSharding > > mlir::mesh::detail::defaultGetShardingAnnotations ( Operation op,
const ShardingOption shardingOption 
)

◆ defaultGetShardingOption()

FailureOr< ShardingOption > mlir::mesh::detail::defaultGetShardingOption ( Operation op,
ArrayRef< MeshSharding operandShardings,
ArrayRef< MeshSharding resultShardings 
)