[Mlir-commits] [mlir] [mlir][spirv] Add mgpu* wrappers for Vulkan runtime, migrate some tests (PR #123114)
Andrea Faulds
llvmlistbot at llvm.org
Thu Jan 16 07:28:58 PST 2025
================
@@ -517,6 +517,11 @@ def GpuToLLVMConversionPass : Pass<"gpu-to-llvm", "ModuleOp"> {
/*default=*/"false",
"Use bare pointers to pass memref arguments to kernels. "
"The kernel must use the same setting for this option."
+ >,
+ Option<"typeCheckKernelArgs", "type-check-kernel-args", "bool",
+ /*default=*/"false",
+ "Require all kernel arguments to be memrefs of rank 1 and with a "
+ "32-bit element size."
----------------
andfau-amd wrote:
It is temporary indeed, but I didn't want to repeat the explanation from circa line 979 in the implementation. I am hoping to remove this already in the next commit.
https://github.com/llvm/llvm-project/pull/123114
More information about the Mlir-commits
mailing list