Skip to content

Commit

Permalink
fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
aelligp committed May 28, 2024
1 parent aacac29 commit 512bed8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/test_stokes_solkz.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ include("../miniapps/benchmarks/stokes2D/solkz/SolKz.jl")
function check_convergence_case1()
nx = 64
ny = 64
init_mpi = JustRelax.MPI.Initialized() ? false : true
_, _, iters, _ = solKz(; nx=nx, ny=ny, init_MPI=init_mpi, finalize_MPI=false)
init_MPI = JustRelax.MPI.Initialized() ? false : true
_, _, iters, _ = solKz(; nx=nx, ny=ny, init_MPI=init_MPI, finalize_MPI=false)

tol = 1e-8
passed = iters.err_evo1[end] < tol
Expand Down
2 changes: 1 addition & 1 deletion test/test_stokes_solvi3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ push!(LOAD_PATH, "..")

@static if ENV["JULIA_JUSTRELAX_BACKEND"] === "AMDGPU"
using AMDGPU

AMDGPU.allowscalar(true)
elseif ENV["JULIA_JUSTRELAX_BACKEND"] === "CUDA"
using CUDA
CUDA.allowscalar(true)
Expand Down

0 comments on commit 512bed8

Please sign in to comment.