[Mlir-commits] [llvm] [mlir] [NFC][mlir][mesh, shard] Fixing misnomers in mesh dialect, renaming 'mesh' dialect to 'shard' (PR #150177)
Mehdi Amini
llvmlistbot at llvm.org
Thu Jul 24 10:53:41 PDT 2025
================
@@ -1,28 +1,30 @@
-# 'mesh' Dialect
+# 'shard' Dialect
-The `mesh` dialect contains a set of attributes, operations and interfaces that
-are useful for representing sharding and communication on a device mesh
-cluster.
+This dialect contains a set of attributes, operations and interfaces that
+are useful for representing sharding and communication on a device grid.
+
+It was originally introduced under the name 'mesh' but was later renamed
+to better reflect its purpose.
[TOC]
## Collective Communication Operations
-There are a number of operations in the Mesh dialect to facilitate
-communication between devices in a mesh.
+There are a number of operations in the Shard dialect to facilitate
+communication between devices in a grid.
It is assumed that the user is familiar with collective operations.
[Wikipedia](https://en.wikipedia.org/wiki/Collective_operation) has a good
explanation.
-The main addition is that the collectives in this dialect have mesh
+The main addition is that the collectives in this dialect have grid
semantics.
----------------
joker-eph wrote:
Can we expand on what this means to "have grid semantics" as an addition to the collectives?
https://github.com/llvm/llvm-project/pull/150177
More information about the Mlir-commits
mailing list