Skip to content

Commit 3021b0d

Browse files
authored
enable cooperative group tests only on 1.12
It seems there are some issues with cooperative groups on older LLVM versions, so enable the tests on 1.12+ only
1 parent 8c2b640 commit 3021b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/device/launch.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ end
131131
# end
132132
end
133133

134-
if !iszero(AMDGPU.HIP.properties(AMDGPU.device()).cooperativeLaunch)
134+
if VERSION >= v"1.12-" && !iszero(AMDGPU.HIP.properties(AMDGPU.device()).cooperativeLaunch)
135135
@testset "Cooperative Groups" begin
136136
function test_kernel!(x)
137137
block_row, block_col = workgroupIdx().x, workgroupIdx().y

0 commit comments

Comments
 (0)