Skip to content

Commit

Permalink
Update test_reactant.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Feb 4, 2025
1 parent 3f067cf commit 1d04652
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_reactant.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using Reactant
if haskey(ENV, "GPU_TEST")
Reactant.set_default_backend("gpu")
else
Reactant.set_default_backend("cpu")
end
using Test
using Oceananigans
using Oceananigans.Architectures
Expand Down

0 comments on commit 1d04652

Please sign in to comment.