1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

accelerator_inline bug

This commit is contained in:
david clarke 2024-02-14 13:56:57 -07:00
parent db420525b3
commit 56827d6ad6

View File

@ -54,7 +54,7 @@ void appendShift(std::vector<Coordinate>& shifts, int dir, Args... args) {
/*! @brief figure out the stencil index from mu and nu */ /*! @brief figure out the stencil index from mu and nu */
inline int stencilIndex(int mu, int nu) { accelerator_inline int stencilIndex(int mu, int nu) {
// Nshifts depends on how you built the stencil // Nshifts depends on how you built the stencil
int Nshifts = 6; int Nshifts = 6;
return Nshifts*nu + Nd*Nshifts*mu; return Nshifts*nu + Nd*Nshifts*mu;