Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop: Correct errors in commented-out code #177

Merged
merged 1 commit into from
Jul 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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