From 712b9a348979f41e50f9f8bb7c7838807dbebe14 Mon Sep 17 00:00:00 2001 From: paboyle Date: Thu, 30 Jun 2016 14:00:34 -0700 Subject: [PATCH] Asm only for avx512 --- lib/qcd/action/fermion/WilsonKernels.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/qcd/action/fermion/WilsonKernels.cc b/lib/qcd/action/fermion/WilsonKernels.cc index 672c23d6..4edd25f9 100644 --- a/lib/qcd/action/fermion/WilsonKernels.cc +++ b/lib/qcd/action/fermion/WilsonKernels.cc @@ -42,12 +42,15 @@ void WilsonKernels::DiracOptDhopSite(StencilImpl &st,LebesgueOrder &lo,Dou std::vector > &buf, int sF,int sU,int Ls, int Ns, const FermionField &in, FermionField &out) { +#ifdef AVX512 if ( AsmOpt ) { WilsonKernels::DiracOptAsmDhopSite(st,lo,U,buf,sF,sU,Ls,Ns,in,out); } else { - +#else + { +#endif for(int site=0;site::DiracOptHandDhopSite(st,lo,U,buf,sF,sU,in,out);