Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth authored Oct 5, 2023
1 parent 35f40d9 commit f0ef949
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,26 @@ Pkg.add(url="https://github.com/gher-uliege/DINCAE.jl", rev="main")
Pkg.add(url="https://github.com/gher-uliege/DINCAE_utils.jl", rev="main")
```

### CUDA support

To enable (optional) CUDA support on NVIDIA GPUs one need to install also the packages `CUDA` and `cuDNN`:

```julia
using Pkg
Pkg.add("CUDA")
Pkg.add("cuDNN")
```

With some adaptions to DINCAE.j, one can probably also use AMD GPUs (with the package `AMDGPU`) and Apple Silicon (with the package `Metal`). PRs to implement support of these GPUs would be very welcome.

After this, you should be able to load `DINCAE` with:

``` julia
using DINCAE
```

#### Checking CUDA installation

To confirm that `CUDA` is functional to use the GPU (otherwise the CPU is used and the code will be much slower), the following command:
```julia
CUDA.functional()
Expand Down

0 comments on commit f0ef949

Please sign in to comment.