[Mlir-commits] [mlir] mlir::mesh::shardingOp adding shard-size control (PR #98145)
Boian Petkantchin
llvmlistbot at llvm.org
Tue Jul 9 18:55:35 PDT 2024
================
@@ -129,15 +328,28 @@ def Mesh_ShardOp : Mesh_Op<"shard", [
as an operand in subsequent operations. If not, the sharding applies to the
operation that defines the tensor value.
+ 4. `force`: A unit attribute requesting an explicit sharding of the data,
+ therefore not allowing to be optimizied away. This is useful in the presence
+ of halos and inplace semantics.
----------------
sogartar wrote:
Is the intention to have some sort of priority when requesting a sharding through the op's sharding interface in case of a conflict?
https://github.com/llvm/llvm-project/pull/98145
More information about the Mlir-commits
mailing list