From d1c0c0197e0243d833a1aee0947265fa6577900b Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Wed, 16 Sep 2020 00:35:06 +0100 Subject: [PATCH] HipCC requires inline on definition --- .../WilsonKernelsHandGparityImplementation.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Grid/qcd/action/fermion/implementation/WilsonKernelsHandGparityImplementation.h b/Grid/qcd/action/fermion/implementation/WilsonKernelsHandGparityImplementation.h index 2150938f..a592a798 100644 --- a/Grid/qcd/action/fermion/implementation/WilsonKernelsHandGparityImplementation.h +++ b/Grid/qcd/action/fermion/implementation/WilsonKernelsHandGparityImplementation.h @@ -646,7 +646,7 @@ NAMESPACE_BEGIN(Grid); HAND_RESULT_EXT(ss,F) #define HAND_SPECIALISE_GPARITY(IMPL) \ - template<> void \ + template<> accelerator_inline void \ WilsonKernels::HandDhopSite(StencilView &st, DoubledGaugeFieldView &U,SiteHalfSpinor *buf, \ int ss,int sU,const FermionFieldView &in, FermionFieldView &out) \ { \ @@ -662,7 +662,7 @@ NAMESPACE_BEGIN(Grid); HAND_DOP_SITE(1, LOAD_CHI_GPARITY,LOAD_CHIMU_GPARITY,MULT_2SPIN_GPARITY); \ } \ \ - template<> void \ + template<> accelerator_inline void \ WilsonKernels::HandDhopSiteDag(StencilView &st, DoubledGaugeFieldView &U,SiteHalfSpinor *buf, \ int ss,int sU,const FermionFieldView &in, FermionFieldView &out) \ { \ @@ -678,7 +678,7 @@ NAMESPACE_BEGIN(Grid); HAND_DOP_SITE_DAG(1, LOAD_CHI_GPARITY,LOAD_CHIMU_GPARITY,MULT_2SPIN_GPARITY); \ } \ \ - template<> void \ + template<> accelerator_inline void \ WilsonKernels::HandDhopSiteInt(StencilView &st, DoubledGaugeFieldView &U,SiteHalfSpinor *buf, \ int ss,int sU,const FermionFieldView &in, FermionFieldView &out) \ { \ @@ -694,7 +694,7 @@ NAMESPACE_BEGIN(Grid); HAND_DOP_SITE_INT(1, LOAD_CHI_GPARITY,LOAD_CHIMU_GPARITY,MULT_2SPIN_GPARITY); \ } \ \ - template<> void \ + template<> accelerator_inline void \ WilsonKernels::HandDhopSiteDagInt(StencilView &st, DoubledGaugeFieldView &U,SiteHalfSpinor *buf, \ int ss,int sU,const FermionFieldView &in, FermionFieldView &out) \ { \ @@ -710,7 +710,7 @@ NAMESPACE_BEGIN(Grid); HAND_DOP_SITE_DAG_INT(1, LOAD_CHI_GPARITY,LOAD_CHIMU_GPARITY,MULT_2SPIN_GPARITY); \ } \ \ - template<> void \ + template<> accelerator_inline void \ WilsonKernels::HandDhopSiteExt(StencilView &st, DoubledGaugeFieldView &U,SiteHalfSpinor *buf, \ int ss,int sU,const FermionFieldView &in, FermionFieldView &out) \ { \ @@ -727,7 +727,7 @@ NAMESPACE_BEGIN(Grid); nmu = 0; \ HAND_DOP_SITE_EXT(1, LOAD_CHI_GPARITY,LOAD_CHIMU_GPARITY,MULT_2SPIN_GPARITY); \ } \ - template<> void \ + template<> accelerator_inline void \ WilsonKernels::HandDhopSiteDagExt(StencilView &st, DoubledGaugeFieldView &U,SiteHalfSpinor *buf, \ int ss,int sU,const FermionFieldView &in, FermionFieldView &out) \ { \