[all-commits] [llvm/llvm-project] 3ca5d8: [MLIR][XeGPU] Add sg_map attribute to support Work...

Petr Kurapov via All-commits all-commits at lists.llvm.org
Wed Oct 2 08:24:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ca5d8082a0c6bd9520544ce3bca11bf3e02a5fa
      https://github.com/llvm/llvm-project/commit/3ca5d8082a0c6bd9520544ce3bca11bf3e02a5fa
  Author: Petr Kurapov <petr.a.kurapov at intel.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
    M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
    M mlir/test/Dialect/XeGPU/XeGPUOps.mlir

  Log Message:
  -----------
  [MLIR][XeGPU] Add sg_map attribute to support Work Item level semantics (#108864)

The PR adds an attribute (sg_map) describing the distribution of
computation among work items for xegpu operations to be used in lowering
passes. The map is attached to the tensor descriptor, so the constructor
and the type are updated. Tests check the custom parser & printer. The
attribute is optional now, so no other changes required.
The complete description of the attribute can be found
[here](https://github.com/intel/mlir-extensions/blob/main/docs/rfcs/XeGPU.md#xegpu-attributes-to-support-work-item-level-semantics).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list