[all-commits] [llvm/llvm-project] a63db3: [mlir][gpu] Modifies `gpu.launch_func` to allow lo...

Fabian Mora via All-commits all-commits at lists.llvm.org
Fri Aug 11 14:56:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a63db3f5f5dc5bfad9a63492c34fc1f6bd012e96
      https://github.com/llvm/llvm-project/commit/a63db3f5f5dc5bfad9a63492c34fc1f6bd012e96
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2023-08-11 (Fri, 11 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/test/Dialect/GPU/invalid.mlir
    M mlir/test/Dialect/GPU/ops.mlir

  Log Message:
  -----------
  [mlir][gpu] Modifies `gpu.launch_func` to allow lowering it after gpu-to-llvm.

**For an explanation of these patches see D154153.**

Commit message:
In order to lower `gpu.launch_func` after running `gpu-to-llvm` it must be
able to handle lowered types -eg. index -> i64. This patch also allows the op
to refer to GPU binaries and not only GPU modules.

Depends on D154132.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list