Skip to content

Commit

Permalink
up Blankenbach
Browse files Browse the repository at this point in the history
  • Loading branch information
aelligp committed May 2, 2024
1 parent 241c8f1 commit 3cbcc62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using JustRelax, JustRelax.JustRelax2D, JustRelax.DataIO
const backend_JR = JustRelax.CPUBackend
const backend_JR = CPUBackend

using ParallelStencil, ParallelStencil.FiniteDifferences2D
@init_parallel_stencil(Threads, Float64, 2) #or (CUDA, Float64, 2) or (AMDGPU, Float64, 2)
Expand All @@ -9,7 +9,7 @@ using JustPIC._2D
# Threads is the default backend,
# to run on a CUDA GPU load CUDA.jl (i.e. "using CUDA") at the beginning of the script,
# and to run on an AMD GPU load AMDGPU.jl (i.e. "using AMDGPU") at the beginning of the script.
const backend = JustPIC.CPUBackend # Options: CPUBackend, CUDABackend, AMDGPUBackend
const backend = CPUBackend # Options: CPUBackend, CUDABackend, AMDGPUBackend

# Load script dependencies
using Printf, LinearAlgebra, GeoParams, CairoMakie
Expand Down

0 comments on commit 3cbcc62

Please sign in to comment.