Skip to content

Commit

Permalink
Merge pull request #1548 from CliMA/gb/interval_topology_gpu
Browse files Browse the repository at this point in the history
Make IntervalTopology(mesh) pick up ClimaComms.device()
  • Loading branch information
simonbyrne authored Nov 16, 2023
2 parents 11fdf94 + d5b26d5 commit 8c0ba7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Topologies/interval.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function IntervalTopology(
IntervalTopology(context, mesh, boundaries)
end
IntervalTopology(mesh::Meshes.IntervalMesh) = IntervalTopology(
ClimaComms.SingletonCommsContext(ClimaComms.CPUSingleThreaded()),
ClimaComms.SingletonCommsContext(ClimaComms.device()),
mesh,
)

Expand Down

0 comments on commit 8c0ba7b

Please sign in to comment.