diff --git a/docs/src/usage.md b/docs/src/usage.md index 7890ed66..8af7bdc3 100644 --- a/docs/src/usage.md +++ b/docs/src/usage.md @@ -5,7 +5,7 @@ ### CPU tests To run the FastIce test suite on the CPU, simple run `test` from within the package mode or using `Pkg`: -```julia-repl +```@repl using Pkg Pkg.test("FastIce") ``` @@ -16,14 +16,14 @@ To run the FastIce test suite on CUDA or ROC Backend (Nvidia or AMD GPUs), respe #### For CUDA backend (Nvidia GPU): -```julia-repl +```@repl using Pkg Pkg.test("FastIce"; test_args=["--backend=CUDA"]) ``` #### For ROC backend (AMD GPU): -```julia-repl +```@repl using Pkg Pkg.test("FastIce"; test_args=["--backend=AMDGPU"]) ```