Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Jul 16, 2023
1 parent f03fc02 commit 7462d4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/functor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ const GPU_BACKEND = @load_preference("gpu_backend", "CUDA")
Sets the gpu backend in `LocalPreferences.toml`.
Possible `backend` values are "CUDA", "AMD", and "Metal".
The selected backend affects the data movement through [`Flux.gpu`](@ref).
The selected backend affects the data movement in [`Flux.gpu`](@ref).
Current backend is stored in `Flux.GPU_BACKEND`.
"""
function gpu_backend!(backend::String)
if backend == GPU_BACKEND
Expand Down

0 comments on commit 7462d4a

Please sign in to comment.