Skip to content

Commit

Permalink
fix for gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Sep 25, 2024
1 parent a86fc06 commit b17ab4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/projection/incflo_apply_cc_projection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ average_mac_to_ccvel (const Array<MultiFab*,AMREX_SPACEDIM>& fc, MultiFab& cc)

#ifdef AMREX_USE_GPU
if (Gpu::inLaunchRegion() && cc.isFusingCandidate()) {
auto& ccma = cc.arrays();
auto const& ccma = cc.arrays();
AMREX_D_TERM(auto const& fxma = fc[0]->arrays();,
auto const& fyma = fc[1]->arrays();,
auto const& fzma = fc[2]->arrays(););
Expand Down

0 comments on commit b17ab4b

Please sign in to comment.