[all-commits] [llvm/llvm-project] 43752a: [mlir][gpu] Add the `gpu-module-to-binary` pass.

Fabian Mora via All-commits all-commits at lists.llvm.org
Fri Aug 11 17:25:09 PDT 2023


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

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/Transforms/Passes.h
    M mlir/include/mlir/Dialect/GPU/Transforms/Passes.td
    M mlir/lib/Dialect/GPU/CMakeLists.txt
    A mlir/lib/Dialect/GPU/Transforms/ModuleToBinary.cpp
    A mlir/test/Dialect/GPU/module-to-binary-nvvm.mlir
    A mlir/test/Dialect/GPU/module-to-binary-rocdl.mlir
    M mlir/test/lit.cfg.py

  Log Message:
  -----------
  [mlir][gpu] Add the `gpu-module-to-binary` pass.

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

Commit message:
This pass converts GPU modules into GPU binaries, serializing all targets present
in a GPU module by invoking the `serializeToObject` target attribute method.

Depends on D154147

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list