[clang-tools-extra] [MLIR] SPIRV Target Attribute (PR #69949)
Sang Ik Lee via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 30 14:21:41 PDT 2023
================
@@ -0,0 +1,7 @@
+// RUN: mlir-opt %s --spirv-attach-target='module=spirv.* ver=v1.0 caps=Kernel' | FileCheck %s
+
+module attributes {gpu.container_module} {
+// CHECK: @spirv_module_1 [#spirv.target<vce = #spirv.vce<v1.0, [Kernel], []>, resource_limits = <>>]
+gpu.module @spirv_module_1 {
----------------
silee2 wrote:
Done.
https://github.com/llvm/llvm-project/pull/69949
More information about the cfe-commits
mailing list