Skip to content

Commit 07acb22

Browse files
committed
remove test for gpu.shuffle width != subgroup_size limit
1 parent 62e777e commit 07acb22

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

mlir/test/Conversion/GPUToSPIRV/shuffle.mlir

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,6 @@ gpu.module @kernels {
2626

2727
// -----
2828

29-
module attributes {
30-
gpu.container_module,
31-
spirv.target_env = #spirv.target_env<#spirv.vce<v1.4, [Shader, GroupNonUniformShuffle], []>, #spirv.resource_limits<subgroup_size = 32>>
32-
} {
33-
34-
gpu.module @kernels {
35-
gpu.func @shuffle_xor() kernel
36-
attributes {spirv.entry_point_abi = #spirv.entry_point_abi<workgroup_size = [16, 1, 1]>} {
37-
%mask = arith.constant 8 : i32
38-
%width = arith.constant 16 : i32
39-
%val = arith.constant 42.0 : f32
40-
41-
// Cannot convert due to shuffle width and target subgroup size mismatch
42-
// expected-error @+1 {{failed to legalize operation 'gpu.shuffle'}}
43-
%result, %valid = gpu.shuffle xor %val, %mask, %width : f32
44-
gpu.return
45-
}
46-
}
47-
48-
}
49-
50-
// -----
51-
5229
module attributes {
5330
gpu.container_module,
5431
spirv.target_env = #spirv.target_env<#spirv.vce<v1.4, [Shader, GroupNonUniformShuffle], []>, #spirv.resource_limits<subgroup_size = 16>>

0 commit comments

Comments
 (0)