From 17af18dcab39ec43c38892642fbdd423c3000745 Mon Sep 17 00:00:00 2001 From: paboyle Date: Fri, 6 Nov 2015 03:45:51 -0800 Subject: [PATCH] Changes for AVX512 assembler --- lib/qcd/action/fermion/WilsonKernels.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/qcd/action/fermion/WilsonKernels.h b/lib/qcd/action/fermion/WilsonKernels.h index 78d7c6a0..3c51568d 100644 --- a/lib/qcd/action/fermion/WilsonKernels.h +++ b/lib/qcd/action/fermion/WilsonKernels.h @@ -28,6 +28,17 @@ namespace Grid { void DiracOptDhopDir(CartesianStencil &st,DoubledGaugeField &U, std::vector > &buf, int sF,int sU,const FermionField &in, FermionField &out,int dirdisp,int gamma); +#if defined(AVX512) || defined(IMCI) + void DiracOptAsmDhopSite(CartesianStencil &st,DoubledGaugeField &U, + std::vector > &buf, + int sF,int sU,const FermionField &in, FermionField &out,uint64_t *); +#else + void DiracOptAsmDhopSite(CartesianStencil &st,DoubledGaugeField &U, + std::vector > &buf, + int sF,int sU,const FermionField &in, FermionField &out,uint64_t *p){ + DiracOptDhopSite(st,U,buf,sF,sU,in,out); // will template override for Wilson Nc=3 + } +#endif #define HANDOPT #ifdef HANDOPT void DiracOptHandDhopSite(CartesianStencil &st,DoubledGaugeField &U,