File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ include("testsuite/linalg.jl")
44
44
include (" testsuite/mapreduce.jl" )
45
45
include (" testsuite/base.jl" )
46
46
include (" testsuite/indexing.jl" )
47
- # include("testsuite/vector.jl")
47
+ include (" testsuite/vector.jl" )
48
48
include (" testsuite/random.jl" )
49
49
50
50
function supported_eltypes ()
57
57
58
58
59
59
"""
60
- Runs the GPUArrays test suite on array type `Typ`
60
+ Runs the entire GPUArrays test suite on array type `Typ`
61
61
"""
62
62
function test (Typ)
63
- # TODO : more fine-grained allowscalar within test_indexing
64
- GPUArrays. allowscalar (true )
65
- TestSuite. test_indexing (Typ)
66
-
67
- GPUArrays. allowscalar (false )
68
63
TestSuite. test_gpuinterface (Typ)
69
64
TestSuite. test_base (Typ)
70
65
TestSuite. test_blas (Typ)
@@ -73,5 +68,7 @@ function test(Typ)
73
68
TestSuite. test_fft (Typ)
74
69
TestSuite. test_linalg (Typ)
75
70
TestSuite. test_mapreduce (Typ)
71
+ TestSuite. test_indexing (Typ)
72
+ # TestSuite.test_vectors(Typ)
76
73
TestSuite. test_random (Typ)
77
74
end
Original file line number Diff line number Diff line change 1
1
function test_indexing (Typ)
2
- @testset " indexing" begin
2
+ # TODO : more fine-grained allowscalar within test_indexing
3
+ GPUArrays. @allowscalar @testset " indexing" begin
3
4
for T in (Float32, Int32#= , SVector{3, Float32}=# )
4
5
@testset " Indexing with $T " begin
5
6
x = rand (T, 32 )
You can’t perform that action at this time.
0 commit comments