We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f38539 commit 9344c20Copy full SHA for 9344c20
mlir/test/Conversion/GPUToSPIRV/lookup-target-env.mlir
@@ -1,8 +1,8 @@
1
-// RUN: mlir-opt --spirv-attach-target='caps=Shader exts=SPV_KHR_storage_buffer_storage_class' --convert-gpu-to-spirv %s | FileCheck %s
+// RUN: mlir-opt --convert-gpu-to-spirv %s | FileCheck %s
2
3
module attributes {gpu.container_module} {
4
// CHECK-LABEL: spirv.module @{{.*}} GLSL450
5
- gpu.module @kernels {
+ gpu.module @kernels [#spirv.target_env<#spirv.vce<v1.0, [Shader], [SPV_KHR_storage_buffer_storage_class]>, #spirv.resource_limits<>>] {
6
// CHECK: spirv.func @load_kernel
7
// CHECK-SAME: %[[ARG:.*]]: !spirv.ptr<!spirv.struct<(!spirv.array<48 x f32, stride=4> [0])>, StorageBuffer> {spirv.interface_var_abi = #spirv.interface_var_abi<(0, 0)>})
8
gpu.func @load_kernel(%arg0: memref<12x4xf32>) kernel attributes {spirv.entry_point_abi = #spirv.entry_point_abi<workgroup_size = [16, 1, 1]>} {
0 commit comments