llvm-project
2bf24685 - [mlir][spirv] Integrate `convert-to-spirv` into `mlir-vulkan-runner` (#106082)

Commit
1 year ago
[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@gmail.com>
Author
Parents
Loading