Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
prbzrg committed Aug 4, 2023
1 parent 14df439 commit 1ccefbe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/call_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
construct(mt, nn, nvars; data_type, resource, differentiation_backend = adb_u)
ps, st = Lux.setup(rng, icnf)
ps = ComponentArrays.ComponentArray(ps)
if resource isa CUDALibs
if resource isa ComputationalResources.CUDALibs
r = gdev(r)
r_arr = gdev(r_arr)
ps = gdev(ps)
Expand Down Expand Up @@ -230,7 +230,7 @@
) : construct(mt, nn, nvars; data_type, resource, compute_mode = cmode)
ps, st = Lux.setup(rng, icnf)
ps = ComponentArrays.ComponentArray(ps)
if resource isa CUDALibs
if resource isa ComputationalResources.CUDALibs
r = gdev(r)
r_arr = gdev(r_arr)
ps = gdev(ps)
Expand Down Expand Up @@ -396,7 +396,7 @@
construct(mt, nn, nvars; data_type, resource, differentiation_backend = adb_u)
ps, st = Lux.setup(rng, icnf)
ps = ComponentArrays.ComponentArray(ps)
if resource isa CUDALibs
if resource isa ComputationalResources.CUDALibs
r = gdev(r)
r2 = gdev(r2)
r_arr = gdev(r_arr)
Expand Down Expand Up @@ -561,7 +561,7 @@
) : construct(mt, nn, nvars; data_type, resource, compute_mode = cmode)
ps, st = Lux.setup(rng, icnf)
ps = ComponentArrays.ComponentArray(ps)
if resource isa CUDALibs
if resource isa ComputationalResources.CUDALibs
r = gdev(r)
r2 = gdev(r2)
r_arr = gdev(r_arr)
Expand Down

0 comments on commit 1ccefbe

Please sign in to comment.