Skip to content
Open
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
3 changes: 2 additions & 1 deletion interfaces/ArrayUtilities.H
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ namespace ArrayUtil
template <typename T, int XLO, int XHI, int YLO, int YHI>
struct MathArray2D
{
AMREX_GPU_HOST_DEVICE AMREX_INLINE
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
void zero()
{
AMREX_UNROLL_LOOP(NET_LOOP_UNROLL_LEN)
for (int i = 0; i < (YHI-YLO+1)*(XHI-XLO+1); ++i) {
arr[i] = 0.0_rt;
}
Expand Down
Loading