Skip to content

Commit 18d1512

Browse files
authored
Merge pull request #232 from janEbert/testsuite-doc
Update testsuite docs
2 parents 11e6179 + 10d0e86 commit 18d1512

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

docs/src/testsuite.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ test = [..., "FFTW", "ForwardDiff", "FillArrays"]
3030
With this set-up, you can run the test suite like this:
3131

3232
```julia
33-
using GPUArrays, GPUArrays.TestSuite
34-
TestSuite.run_tests(MyGPUArrayType)
33+
TestSuite.test(MyGPUArrayType)
3534
```
3635
If you don't want to run the whole suite, you can also run parts of it:
3736

@@ -40,13 +39,15 @@ If you don't want to run the whole suite, you can also run parts of it:
4039
T = JLArray
4140
GPUArrays.allowscalar(false) # fail tests when slow indexing path into Array type is used.
4241

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)
5253
```

0 commit comments

Comments
 (0)