We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421451b commit 26569a0Copy full SHA for 26569a0
.github/workflows/CI.yml
@@ -19,7 +19,7 @@ jobs:
19
matrix:
20
version:
21
- '1.6'
22
- - '1.7'
+ - '1'
23
- 'nightly'
24
os:
25
- ubuntu-latest
test/runtests.jl
@@ -8,7 +8,7 @@ struct TestAdaptor end
8
9
gpu(x) = Adapt.adapt(TestAdaptor(), x)
10
11
-Adapt.adapt_storage(to::TestAdaptor, x) = CUDA.cu(x)
+Adapt.adapt_storage(to::TestAdaptor, x) = CUDA.functional() ? CUDA.cu(x) : x
12
13
@testset "ReinforcementLearningTrajectories.jl" begin
14
include("traces.jl")
0 commit comments