1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 01:05:38 +01:00

Compiling updates for KNL

This commit is contained in:
paboyle 2016-06-03 03:47:54 -07:00
parent 5d3a1a025d
commit 53d06046b0
7 changed files with 11 additions and 19 deletions

View File

@ -205,16 +205,7 @@ int main (int argc, char ** argv)
}
}
if(0){
std::cout<<GridLogMessage << " Cycle reporting "<<std::endl;
QCD::WilsonFermion5DStatic::CycleReport=1;
for(int i=0;i<ncall;i++){
sDw.Dhop(ssrc,sresult,0);
}
QCD::WilsonFermion5DStatic::CycleReport=0;
}
RealF sum=0;
for(int x=0;x<latt4[0];x++){

File diff suppressed because one or more lines are too long

View File

@ -60,7 +60,6 @@ static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid,
#ifdef TIMERS_OFF
#warning PerfCount: Disabling cycle timers
inline uint64_t cyclecount(void){
return 0;
@ -95,7 +94,6 @@ inline uint64_t cyclecount(void){
}
#else
#warning No cycle counter implemented for this architecture
inline uint64_t cyclecount(void){
return 0;
}

View File

@ -35,9 +35,6 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
namespace Grid {
#ifdef TIMERS_OFF
#warning Timer.h Disabling timers
#endif
// Dress the output; use std::chrono

View File

@ -368,7 +368,7 @@ PARALLEL_FOR_LOOP
}
}
} else {
#pragma omp parallel for schedule(runtime)
PARALLEL_FOR_LOOP
for(int ss=0;ss<U._grid->oSites();ss++){
int sU=lo.Reorder(ss);
int sF=LLs*sU;

View File

@ -87,6 +87,7 @@ namespace Grid {
void DiracOptHandDhopSiteDag(StencilImpl &st,DoubledGaugeField &U,
std::vector<SiteHalfSpinor,alignedAllocator<SiteHalfSpinor> > &buf,
int sF,int sU,const FermionField &in, FermionField &out);
public:
WilsonKernels(const ImplParams &p= ImplParams());

View File

@ -27,9 +27,13 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
/* END LEGAL */
#include <Grid.h>
#include <PerfCount.h>
int main(int argc,char **argv)
{
return 0;
}
#if 0
#include <simd/Intel512wilson.h>
using namespace Grid;
using namespace Grid::QCD;
@ -478,3 +482,4 @@ void WilsonDslashAvx512F(void *ptr1,void *ptr2,void *ptr3)
return;
}
#endif