Skip to content

Commit 5a9611f

Browse files
committed
Disable new tests under compute-sanitizer.
They hang for an unknown reason.
1 parent b8a953a commit 5a9611f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/sorting.jl

+5-2
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ end
280280
end
281281
end
282282

283+
# XXX: some tests here make compute-sanitizer hang, but only on CI.
284+
# maybe related to the container set-up? try again once we use Sandbox.jl.
285+
283286
@testset "interface" begin
284287
@testset "quicksort" begin
285288
# pre-sorted
@@ -302,7 +305,7 @@ end
302305
@test check_sort!(Float64, 10000, x -> rand(Float64); alg=CUDA.QuickSort)
303306
@test check_sort!(Float32, 10000, x -> rand(Float32); alg=CUDA.QuickSort)
304307
@test check_sort!(Float16, 10000, x -> rand(Float16); alg=CUDA.QuickSort)
305-
@test check_sort!(Tuple{Int,Int}, 10000, x -> (rand(Int), rand(Int)); alg=CUDA.QuickSort)
308+
@not_if_sanitize @test check_sort!(Tuple{Int,Int}, 10000, x -> (rand(Int), rand(Int)); alg=CUDA.QuickSort)
306309

307310
# non-uniform distributions
308311
@test check_sort!(UInt8, 100000, x -> round(255 * rand() ^ 2); alg=CUDA.QuickSort)
@@ -346,7 +349,7 @@ end
346349
@test check_sort!(Float64, 10000, x -> rand(Float64); alg=CUDA.BitonicSort)
347350
@test check_sort!(Float32, 10000, x -> rand(Float32); alg=CUDA.BitonicSort)
348351
@test check_sort!(Float16, 10000, x -> rand(Float16); alg=CUDA.BitonicSort)
349-
@test check_sort!(Tuple{Int,Int}, 10000, x -> (rand(Int), rand(Int)); alg=CUDA.BitonicSort)
352+
@not_if_sanitize @test check_sort!(Tuple{Int,Int}, 10000, x -> (rand(Int), rand(Int)); alg=CUDA.BitonicSort)
350353

351354
# test various sizes
352355
@test check_sort!(Float32, 1, x -> rand(Float32); alg=CUDA.BitonicSort)

0 commit comments

Comments
 (0)