mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
accelerator_inline bug
This commit is contained in:
parent
db420525b3
commit
56827d6ad6
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user