Skip to content

Commit

Permalink
Loop: New macro CCTK_KERNEL
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Oct 30, 2024
1 parent 4735fab commit 6d37335
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Loop/src/loop.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#define CCTK_DEVICE AMREX_GPU_DEVICE
#define CCTK_HOST AMREX_GPU_HOST

#define CCTK_KERNEL __attribute__((__always_inline__, __flatten__))

namespace Loop {

using Arith::vect;
Expand Down

0 comments on commit 6d37335

Please sign in to comment.