9#ifndef MLIR_DIALECT_SHARD_TRANSFORMS_PARTITION_H
10#define MLIR_DIALECT_SHARD_TRANSFORMS_PARTITION_H
43 SymbolTableCollection &symbolTableCollection);
TypedValue< ShapedType > reshard(OpBuilder &builder, GridOp grid, ShardOp source, ShardOp target, TypedValue< ShapedType > sourceShardValue)
void reshardingRegisterDependentDialects(DialectRegistry ®istry)
Include the generated interface declarations.
std::conditional_t< std::is_same_v< Ty, mlir::Type >, mlir::Value, detail::TypedValue< Ty > > TypedValue
If Ty is mlir::Type this will select Value instead of having a wrapper around it.