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

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 08:06:51 PDT 2024


================
@@ -50,7 +50,10 @@ def ConvertToSPIRVPass : Pass<"convert-to-spirv"> {
     "Run function signature conversion to convert vector types">,
     Option<"runVectorUnrolling", "run-vector-unrolling", "bool",
     /*default=*/"true",
-    "Run vector unrolling to convert vector types in function bodies">
+    "Run vector unrolling to convert vector types in function bodies">,
+    Option<"runOnGPUModules", "run-on-gpu-modules", "bool",
+    /*default=*/"false",
+    "Clone and convert only the GPU modules for integration testing">
----------------
kuhar wrote:

```suggestion
    "Clone and convert GPU modules">
```

This is useable in other contexts,  the pass shouldn't track who the exact users are

https://github.com/llvm/llvm-project/pull/106082


More information about the llvm-commits mailing list