Skip to content

Commit

Permalink
Fix device
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Jun 22, 2023
1 parent b42bfe8 commit 005b898
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Spaces/terrain_warp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ function generate_base_spaces(
stretch = Meshes.Uniform();
ndims = 3,
)
comms_context = ClimaComms.SingletonCommsContext(ClimaComms.CPUDevice())
device = ClimaComms.CPUSingleThreaded()
comms_context = ClimaComms.SingletonCommsContext(device)
FT = eltype(xlim)
vertdomain = Domains.IntervalDomain(
Geometry.ZPoint{FT}(zlim[1]),
Expand Down

0 comments on commit 005b898

Please sign in to comment.