7 Commits

Author SHA1 Message Date
Frank Schlimbach
a6929f7937
[mlir][shard,mpi] Allowing 2d-grids and simplifying lowering shard.all_gather (#180243)
- fixing incorrect assertion and related function name
- MPI_comm_split is not pure
- simplifying/standardizing permutation in all_gather

---------

Co-authored-by: Rolf Morel <rolfmorel@gmail.com>
2026-02-10 16:04:22 +01:00
Mehdi Amini
fd1b5048e9 [MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in Partition.cpp (NFC) 2026-01-28 02:44:56 -08:00
Frank Schlimbach
e85e61c05f
[MLIR][shard] checking for correct&full sharding annotations (#176000)
Before trying to partition a block or operation, check that it is fully
annotated with `shard.shard` ops. This gives useful error messages
instead of random errors later on.
2026-01-16 11:09:21 +01:00
Matthias Springer
fb4c05cf03
[mlir][IR] Add implicit conversion operator to TypedValue (#164621)
Allow implicit conversion from `TypedValue<B>` to `TypedValue<A>` if `B`
is assignable to `A`.

Example:
```c++
TypedValue<MemRefType> val;
TypedValue<ShapedType> shapedVal = val;  // this is now valid
```
2025-10-23 09:24:30 +02:00
Mehdi Amini
4940794160 [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in Partition.cpp (NFC) 2025-08-30 12:23:09 -07:00
Maksim Levental
c090ed53fb
[mlir][NFC] update mlir/Dialect create APIs (33/n) (#150659)
See https://github.com/llvm/llvm-project/pull/147168 for more info.
2025-07-25 16:13:55 -04:00
Frank Schlimbach
b2d4963ee9
[NFC][mlir][mesh,shard] Fixing misnomers in mesh dialect, renaming 'mesh' dialect to 'shard' (#150177)
Dialect to 'shard' (discourse 87053)
  - dialect name mesh -> shard
  - (device) mesh -> (device) grid
  - spmdize -> partition

A lot of diffs, but simple renames only.

@tkarna @yaochengji
2025-07-25 16:53:08 +02:00