[all-commits] [llvm/llvm-project] a7686d: [mlir][gpu] Allow distributing to different level ...

Thomas via All-commits all-commits at lists.llvm.org
Fri Feb 3 18:03:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7686db801ff6a96da4b6245362c87a627fdafbe
      https://github.com/llvm/llvm-project/commit/a7686db801ff6a96da4b6245362c87a627fdafbe
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2023-02-04 (Sat, 04 Feb 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/TransformOps/GPUDeviceMappingAttr.td
    M mlir/include/mlir/Dialect/GPU/TransformOps/GPUTransformOps.td
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/GPU/TransformOps/GPUTransformOps.cpp
    M mlir/test/Dialect/GPU/transform-gpu-failing.mlir
    M mlir/test/Dialect/GPU/transform-gpu.mlir

  Log Message:
  -----------
  [mlir][gpu] Allow distributing to different level of IDs without failing

Change map_nested_foreach_to_threads to ignore foreach_thread not
mapping to threads, this will allow us to call
mapNestedForeachToThreadsImpl with different set of ids to lower
multiple levels. Also adds warpIds attributes.

Differential Revision: https://reviews.llvm.org/D143298




More information about the All-commits mailing list