Skip to content

Commit 8eb400d

Browse files
authored
Add hint for choosing a different GPU backend (#2435)
1 parent 285145a commit 8eb400d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functor.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ function gpu(to::FluxCUDAAdaptor, x)
357357
@info """
358358
The CUDA functionality is being called but
359359
`CUDA.jl` must be loaded to access it.
360-
Add `using CUDA` or `import CUDA` to your code.
360+
Add `using CUDA` or `import CUDA` to your code. Alternatively, configure a different GPU backend by calling `Flux.gpu_backend!`.
361361
""" maxlog=1
362362
return x
363363
end

0 commit comments

Comments
 (0)