From 56827d6ad6c019e0219544cb793dcd40137a21fc Mon Sep 17 00:00:00 2001 From: david clarke Date: Wed, 14 Feb 2024 13:56:57 -0700 Subject: [PATCH] accelerator_inline bug --- Grid/qcd/smearing/HISQSmearing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grid/qcd/smearing/HISQSmearing.h b/Grid/qcd/smearing/HISQSmearing.h index 7635ef06..d2091806 100644 --- a/Grid/qcd/smearing/HISQSmearing.h +++ b/Grid/qcd/smearing/HISQSmearing.h @@ -54,7 +54,7 @@ void appendShift(std::vector& shifts, int dir, Args... args) { /*! @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 int Nshifts = 6; return Nshifts*nu + Nd*Nshifts*mu;