@@ -30,8 +30,7 @@ test = [..., "FFTW", "ForwardDiff", "FillArrays"]
30
30
With this set-up, you can run the test suite like this:
31
31
32
32
``` julia
33
- using GPUArrays, GPUArrays. TestSuite
34
- TestSuite. run_tests (MyGPUArrayType)
33
+ TestSuite. test (MyGPUArrayType)
35
34
```
36
35
If you don't want to run the whole suite, you can also run parts of it:
37
36
@@ -40,13 +39,15 @@ If you don't want to run the whole suite, you can also run parts of it:
40
39
T = JLArray
41
40
GPUArrays. allowscalar (false ) # fail tests when slow indexing path into Array type is used.
42
41
43
- TestSuite. run_gpuinterface (T) # interface functions like gpu_call, threadidx, etc
44
- TestSuite. run_base (T) # basic functionality like launching a kernel on the GPU and Base operations
45
- TestSuite. run_blas (T) # tests the blas interface
46
- TestSuite. run_broadcasting (T) # tests the broadcasting implementation
47
- TestSuite. run_construction (T) # tests all kinds of different ways of constructing the array
48
- TestSuite. run_fft (T) # fft tests
49
- TestSuite. run_linalg (T) # linalg function tests
50
- TestSuite. run_mapreduce (T) # mapreduce sum, etc
51
- TestSuite. run_indexing (T) # indexing tests
42
+ TestSuite. test_gpuinterface (T) # interface functions like gpu_call, threadidx, etc
43
+ TestSuite. test_base (T) # basic functionality like launching a kernel on the GPU and Base operations
44
+ TestSuite. test_blas (T) # tests the blas interface
45
+ TestSuite. test_broadcasting (T) # tests the broadcasting implementation
46
+ TestSuite. test_construction (T) # tests all kinds of different ways of constructing the array
47
+ TestSuite. test_fft (T) # fft tests
48
+ TestSuite. test_linalg (T) # linalg function tests
49
+ TestSuite. test_mapreduce (T) # mapreduce sum, etc
50
+ TestSuite. test_indexing (T) # indexing tests
51
+ TestSuite. test_random (T) # randomly constructed arrays
52
+ TestSuite. test_io (T)
52
53
```
0 commit comments