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
b9ab8885c8
[mlir][shard,mpi] Lowering shard.allgather to MPI ( #177202 )
...
- lowering `shard.allgather` to `mpi.allgather`
- fixing lowering of `shard.allreduce`
- minor refactoring
2026-01-23 11:02:02 +01:00
Frank Schlimbach
d12019d5e5
[mlir][shard,mpi] lowering shard.all_slice in shard-to-mpi ( #176438 )
...
Lowering shard.all_slice in shard-to-mpi and reusing lowering for
shard.processmultindex.
2026-01-19 15:37:35 +01: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
Mehdi Amini
965b338b05
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in ShardingPropagation.cpp (NFC)
2025-11-13 09:40:10 -08: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
d77d3a7847
[MLIR] Apply clang-tidy fixes for modernize-use-emplace in ShardingPropagation.cpp (NFC)
2025-09-25 14:59:43 -07: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