Skip to content

Commit 9344c20

Browse files
committed
Simplify pass pipeline of test code
1 parent 1f38539 commit 9344c20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/Conversion/GPUToSPIRV/lookup-target-env.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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
1+
// RUN: mlir-opt --convert-gpu-to-spirv %s | FileCheck %s
22

33
module attributes {gpu.container_module} {
44
// CHECK-LABEL: spirv.module @{{.*}} GLSL450
5-
gpu.module @kernels {
5+
gpu.module @kernels [#spirv.target_env<#spirv.vce<v1.0, [Shader], [SPV_KHR_storage_buffer_storage_class]>, #spirv.resource_limits<>>] {
66
// CHECK: spirv.func @load_kernel
77
// 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)>})
88
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

Comments
 (0)