Skip to content

Commit

Permalink
NewRadX: Switch to device loop in main routine
Browse files Browse the repository at this point in the history
  • Loading branch information
chcheng3 committed Mar 5, 2024
1 parent 71eb243 commit 0fc34bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NewRadX/src/newradx.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void NewRadX_Apply(const cGH *restrict const cctkGH,
};

const Loop::GridDescBaseDevice grid(cctkGH);
grid.loop_outermost_int<0,0,0>(
grid.loop_outermost_int_device<0,0,0>(
grid.nghostzones,
[=] CCTK_DEVICE CCTK_HOST(const Loop::PointDesc &p)
CCTK_ATTRIBUTE_ALWAYS_INLINE {
Expand Down

0 comments on commit 0fc34bf

Please sign in to comment.