From 60f9bf69cdf7e63ffb69c2e93b8ec52331ad7712 Mon Sep 17 00:00:00 2001 From: Quadro Date: Tue, 1 Jun 2021 13:32:34 -0400 Subject: [PATCH] These are not acccessible from device --- Grid/qcd/spin/Dirac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grid/qcd/spin/Dirac.h b/Grid/qcd/spin/Dirac.h index d03e0939..2f2a9732 100644 --- a/Grid/qcd/spin/Dirac.h +++ b/Grid/qcd/spin/Dirac.h @@ -40,7 +40,7 @@ See the full license in the file "LICENSE" in the top level distribution directo NAMESPACE_BEGIN(Grid); // Dirac algebra adjoint operator (not in to overload other adj) -accelerator_inline Gamma adj(const Gamma &g) +inline Gamma adj(const Gamma &g) { return Gamma (Gamma::adj[g.g]); } @@ -48,7 +48,7 @@ accelerator_inline Gamma adj(const Gamma &g) // Dirac algebra mutliplication operator -accelerator_inline Gamma operator*(const Gamma &g1, const Gamma &g2) +inline Gamma operator*(const Gamma &g1, const Gamma &g2) { return Gamma (Gamma::mul[g1.g][g2.g]); }