-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,29 @@ | ||
# Library | ||
|
||
## Running tests | ||
|
||
### CPU tests | ||
|
||
To run the FastIce test suite on the CPU, simple run `test` from within the package mode or using `Pkg`: | ||
```julia-repl | ||
using Pkg | ||
Pkg.test("FastIce") | ||
``` | ||
|
||
### GPU tests | ||
|
||
To run the FastIce test suite on CUDA or ROC Backend (Nvidia or AMD GPUs), respectively, run the tests using `Pkg` adding following `test_args`: | ||
|
||
#### For CUDA backend (Nvidia GPU): | ||
|
||
```julia-repl | ||
using Pkg | ||
Pkg.test("FastIce"; test_args=["--backend=CUDA"]) | ||
``` | ||
|
||
#### For ROC backend (AMD GPU): | ||
|
||
```julia-repl | ||
using Pkg | ||
Pkg.test("FastIce"; test_args=["--backend=AMDGPU"]) | ||
``` |