[all-commits] [llvm/llvm-project] 08545e: [MLIR] Add a new Mesh dialect (#68007)

Chengji Yao via All-commits all-commits at lists.llvm.org
Tue Oct 10 11:35:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08545e85167a105b8147d76a48a2fa1eac0f9e9a
      https://github.com/llvm/llvm-project/commit/08545e85167a105b8147d76a48a2fa1eac0f9e9a
  Author: Chengji Yao <yaochengji at hotmail.com>
  Date:   2023-10-10 (Tue, 10 Oct 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/CMakeLists.txt
    A mlir/include/mlir/Dialect/Mesh/CMakeLists.txt
    A mlir/include/mlir/Dialect/Mesh/IR/CMakeLists.txt
    A mlir/include/mlir/Dialect/Mesh/IR/MeshBase.td
    A mlir/include/mlir/Dialect/Mesh/IR/MeshOps.h
    A mlir/include/mlir/Dialect/Mesh/IR/MeshOps.td
    M mlir/include/mlir/IR/OpImplementation.h
    M mlir/include/mlir/InitAllDialects.h
    M mlir/lib/Dialect/CMakeLists.txt
    A mlir/lib/Dialect/Mesh/CMakeLists.txt
    A mlir/lib/Dialect/Mesh/IR/CMakeLists.txt
    A mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
    A mlir/test/Dialect/Mesh/invalid.mlir
    A mlir/test/Dialect/Mesh/ops.mlir

  Log Message:
  -----------
  [MLIR] Add a new Mesh dialect (#68007)

This is the 1st PR of [Mesh sharding
RFC](https://discourse.llvm.org/t/open-mlir-meeting-9-28-2023-rfc-sharding-framework-design-for-device-mesh/73695),
includes

Includes:

- mesh.cluster op
- mesh.shard op (the mesh.annotate op in the RFC slides, the name is
modified a bit from @stellaraccident 's advice, which I think might be a
bit more concise)
- MeshSharding attribute




More information about the All-commits mailing list