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);