Skip to content

Commit e1b6c66

Browse files
authored
Merge pull request #825 from simeonschaub/sds/fix_coop
2 parents 8c2b640 + 540e59e commit e1b6c66

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/device/launch.jl

Lines changed: 3 additions & 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
@@ -151,6 +151,8 @@ if !iszero(AMDGPU.HIP.properties(AMDGPU.device()).cooperativeLaunch)
151151
end
152152
AMDGPU.Device.sync_grid()
153153
end
154+
155+
return nothing
154156
end
155157

156158
n = 4

0 commit comments

Comments
 (0)