Skip to content

Commit

Permalink
Merge pull request #177 from eschnett/eschnett/loop
Browse files Browse the repository at this point in the history
Loop: Correct errors in commented-out code
  • Loading branch information
eschnett authored Jul 23, 2023
2 parents 9047df5 + ac0c89c commit 6380c7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Loop/src/loop.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ public:
}
#endif

loop_box_boundary<CI, CJ, CK>(f, imin, imax, inormal);
loop_box_boundary<CI, CJ, CK>(imin, imax, inormal, f);
}
} // if rank
}
Expand Down
8 changes: 4 additions & 4 deletions Loop/src/loop_device.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ public:
#if 0
// Loop over all outer ghost points. This includes ghost edges/corners on
// non-ghost faces. Loop over faces first, then edges, then corners.
template <int CI, int CJ, int CK, int N=1,int VS = 1, int NT = AMREX_GPU_MAX_THREADS,
typename F>
template <int CI, int CJ, int CK, int N = 1, int VS = 1,
int NT = AMREX_GPU_MAX_THREADS, typename F>
inline CCTK_ATTRIBUTE_ALWAYS_INLINE void
loop_ghosts_inclusive_device(const vect<int, dim> &group_nghostzones,
const F &f) const {
Expand Down Expand Up @@ -313,8 +313,8 @@ public:
imax[d] = std::min(tmax[d], imax[d]);
}

loop_box_boundary_device<CI, CJ, CK,VS, N, NT>( imin, imax,
inormal);
loop_box_boundary_device<CI, CJ, CK, VS, N, NT>(imin, imax,
inormal, f);
}
} // if rank
}
Expand Down

0 comments on commit 6380c7e

Please sign in to comment.