|
280 | 280 | end
|
281 | 281 | end
|
282 | 282 |
|
| 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 | + |
283 | 286 | @testset "interface" begin
|
284 | 287 | @testset "quicksort" begin
|
285 | 288 | # pre-sorted
|
|
302 | 305 | @test check_sort!(Float64, 10000, x -> rand(Float64); alg=CUDA.QuickSort)
|
303 | 306 | @test check_sort!(Float32, 10000, x -> rand(Float32); alg=CUDA.QuickSort)
|
304 | 307 | @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) |
306 | 309 |
|
307 | 310 | # non-uniform distributions
|
308 | 311 | @test check_sort!(UInt8, 100000, x -> round(255 * rand() ^ 2); alg=CUDA.QuickSort)
|
|
346 | 349 | @test check_sort!(Float64, 10000, x -> rand(Float64); alg=CUDA.BitonicSort)
|
347 | 350 | @test check_sort!(Float32, 10000, x -> rand(Float32); alg=CUDA.BitonicSort)
|
348 | 351 | @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) |
350 | 353 |
|
351 | 354 | # test various sizes
|
352 | 355 | @test check_sort!(Float32, 1, x -> rand(Float32); alg=CUDA.BitonicSort)
|
|
0 commit comments