From 867ee364abf3f4f9bbb2e9db09fa7a6450f6fa61 Mon Sep 17 00:00:00 2001 From: paboyle Date: Wed, 13 Jun 2018 20:27:12 +0100 Subject: [PATCH] Explicit instantiation hooks --- lib/qcd/action/fermion/FermionCore.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/qcd/action/fermion/FermionCore.h b/lib/qcd/action/fermion/FermionCore.h index 17006961..5131febb 100644 --- a/lib/qcd/action/fermion/FermionCore.h +++ b/lib/qcd/action/fermion/FermionCore.h @@ -49,21 +49,23 @@ Author: Peter Boyle template class A; \ template class A; -#define FermOp4dVecTemplateInstantiate(A) \ +#define FermOp4dVecTemplateInstantiateNoGP(A) \ template class A; \ template class A; \ template class A; \ template class A; \ - template class A; \ - template class A; \ template class A; \ template class A; \ template class A; \ - template class A; \ + template class A; + +#define FermOp4dVecTemplateInstantiate(A) \ + FermOp4dVecTemplateInstantiateNoGP(A) \ + template class A; \ + template class A; \ template class A; \ template class A; - #define AdjointFermOpTemplateInstantiate(A) \ template class A; \ template class A;