[all-commits] [llvm/llvm-project] 2bf246: [mlir][spirv] Integrate `convert-to-spirv` into `m...
Angel Zhang via All-commits
all-commits at lists.llvm.org
Tue Aug 27 09:17:16 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2bf2468553f69c72680d138b91046d4c00d2c7a6
https://github.com/llvm/llvm-project/commit/2bf2468553f69c72680d138b91046d4c00d2c7a6
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-08-27 (Tue, 27 Aug 2024)
Changed paths:
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
M mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
A mlir/test/Conversion/ConvertToSPIRV/convert-gpu-modules.mlir
M mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][spirv] Integrate `convert-to-spirv` into `mlir-vulkan-runner` (#106082)
**Description**
This PR adds a new option for `convert-to-spirv` pass to clone and
convert only GPU kernel modules for integration testing. The reason for
using pass options instead of two separate passes is that they both
consist of `memref` types conversion and individual dialect patterns,
except they run on different scopes. The PR also replaces the
`gpu-to-spirv` pass with the `convert-to-spirv` pass (with the new
option) in `mlir-vulkan-runner`.
**Future Plan**
Use nesting pass pipelines in `mlir-vulkan-runner` instead of adding
this option.
---------
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
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