mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Compiling updates for KNL
This commit is contained in:
parent
5d3a1a025d
commit
53d06046b0
@ -206,15 +206,6 @@ 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;
|
RealF sum=0;
|
||||||
for(int x=0;x<latt4[0];x++){
|
for(int x=0;x<latt4[0];x++){
|
||||||
|
File diff suppressed because one or more lines are too long
@ -60,7 +60,6 @@ static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid,
|
|||||||
|
|
||||||
#ifdef TIMERS_OFF
|
#ifdef TIMERS_OFF
|
||||||
|
|
||||||
#warning PerfCount: Disabling cycle timers
|
|
||||||
|
|
||||||
inline uint64_t cyclecount(void){
|
inline uint64_t cyclecount(void){
|
||||||
return 0;
|
return 0;
|
||||||
@ -95,7 +94,6 @@ inline uint64_t cyclecount(void){
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#warning No cycle counter implemented for this architecture
|
|
||||||
inline uint64_t cyclecount(void){
|
inline uint64_t cyclecount(void){
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -35,9 +35,6 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
|
|||||||
|
|
||||||
namespace Grid {
|
namespace Grid {
|
||||||
|
|
||||||
#ifdef TIMERS_OFF
|
|
||||||
#warning Timer.h Disabling timers
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Dress the output; use std::chrono
|
// Dress the output; use std::chrono
|
||||||
|
|
||||||
|
@ -368,7 +368,7 @@ PARALLEL_FOR_LOOP
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
#pragma omp parallel for schedule(runtime)
|
PARALLEL_FOR_LOOP
|
||||||
for(int ss=0;ss<U._grid->oSites();ss++){
|
for(int ss=0;ss<U._grid->oSites();ss++){
|
||||||
int sU=lo.Reorder(ss);
|
int sU=lo.Reorder(ss);
|
||||||
int sF=LLs*sU;
|
int sF=LLs*sU;
|
||||||
|
@ -87,6 +87,7 @@ namespace Grid {
|
|||||||
void DiracOptHandDhopSiteDag(StencilImpl &st,DoubledGaugeField &U,
|
void DiracOptHandDhopSiteDag(StencilImpl &st,DoubledGaugeField &U,
|
||||||
std::vector<SiteHalfSpinor,alignedAllocator<SiteHalfSpinor> > &buf,
|
std::vector<SiteHalfSpinor,alignedAllocator<SiteHalfSpinor> > &buf,
|
||||||
int sF,int sU,const FermionField &in, FermionField &out);
|
int sF,int sU,const FermionField &in, FermionField &out);
|
||||||
|
public:
|
||||||
|
|
||||||
WilsonKernels(const ImplParams &p= ImplParams());
|
WilsonKernels(const ImplParams &p= ImplParams());
|
||||||
|
|
||||||
|
@ -27,9 +27,13 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
#include <Grid.h>
|
#include <Grid.h>
|
||||||
#include <PerfCount.h>
|
#include <PerfCount.h>
|
||||||
|
|
||||||
|
int main(int argc,char **argv)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#if 0
|
||||||
#include <simd/Intel512wilson.h>
|
#include <simd/Intel512wilson.h>
|
||||||
|
|
||||||
|
|
||||||
using namespace Grid;
|
using namespace Grid;
|
||||||
using namespace Grid::QCD;
|
using namespace Grid::QCD;
|
||||||
|
|
||||||
@ -478,3 +482,4 @@ void WilsonDslashAvx512F(void *ptr1,void *ptr2,void *ptr3)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user