Skip to content

Commit cb69589

Browse files
authored
Only skip histogram tests on CPU (#365)
1 parent 1311d88 commit cb69589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/histogram.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function move(backend, input)
7272
end
7373

7474
@testset "histogram tests" begin
75-
if Base.VERSION < v"1.7.0"
75+
if Base.VERSION < v"1.7.0" && !KernelAbstractions.isgpu(backend)
7676
@test_skip false
7777
else
7878
rand_input = [rand(1:128) for i = 1:1000]

0 commit comments

Comments
 (0)