From 53d06046b01a78597f1613cfed8f71295eb9c5a8 Mon Sep 17 00:00:00 2001 From: paboyle Date: Fri, 3 Jun 2016 03:47:54 -0700 Subject: [PATCH] Compiling updates for KNL --- benchmarks/Benchmark_dwf.cc | 9 --------- lib/Make.inc | 4 ++-- lib/PerfCount.h | 2 -- lib/Timer.h | 3 --- lib/qcd/action/fermion/WilsonFermion5D.cc | 2 +- lib/qcd/action/fermion/WilsonKernels.h | 1 + tests/Test_zmm.cc | 9 +++++++-- 7 files changed, 11 insertions(+), 19 deletions(-) diff --git a/benchmarks/Benchmark_dwf.cc b/benchmarks/Benchmark_dwf.cc index fa01e877..bf168c81 100644 --- a/benchmarks/Benchmark_dwf.cc +++ b/benchmarks/Benchmark_dwf.cc @@ -205,16 +205,7 @@ int main (int argc, char ** argv) } } - - if(0){ - std::cout< namespace Grid { -#ifdef TIMERS_OFF -#warning Timer.h Disabling timers -#endif // Dress the output; use std::chrono diff --git a/lib/qcd/action/fermion/WilsonFermion5D.cc b/lib/qcd/action/fermion/WilsonFermion5D.cc index 0c4fcf20..e10884d8 100644 --- a/lib/qcd/action/fermion/WilsonFermion5D.cc +++ b/lib/qcd/action/fermion/WilsonFermion5D.cc @@ -368,7 +368,7 @@ PARALLEL_FOR_LOOP } } } else { -#pragma omp parallel for schedule(runtime) +PARALLEL_FOR_LOOP for(int ss=0;ssoSites();ss++){ int sU=lo.Reorder(ss); int sF=LLs*sU; diff --git a/lib/qcd/action/fermion/WilsonKernels.h b/lib/qcd/action/fermion/WilsonKernels.h index 7cb34691..3cdcc08e 100644 --- a/lib/qcd/action/fermion/WilsonKernels.h +++ b/lib/qcd/action/fermion/WilsonKernels.h @@ -87,6 +87,7 @@ namespace Grid { void DiracOptHandDhopSiteDag(StencilImpl &st,DoubledGaugeField &U, std::vector > &buf, int sF,int sU,const FermionField &in, FermionField &out); + public: WilsonKernels(const ImplParams &p= ImplParams()); diff --git a/tests/Test_zmm.cc b/tests/Test_zmm.cc index 90d92c46..98a792e5 100644 --- a/tests/Test_zmm.cc +++ b/tests/Test_zmm.cc @@ -27,9 +27,13 @@ Author: paboyle /* END LEGAL */ #include #include + +int main(int argc,char **argv) +{ + return 0; +} +#if 0 #include - - using namespace Grid; using namespace Grid::QCD; @@ -478,3 +482,4 @@ void WilsonDslashAvx512F(void *ptr1,void *ptr2,void *ptr3) return; } +#endif