1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-14 01:35:36 +00:00
This commit is contained in:
Peter Boyle 2017-08-25 14:29:53 +01:00
parent c289699d9a
commit 3a58217405

View File

@ -386,7 +386,7 @@ public:
if ( sizeof(Real)==8 ) std::cout << GridLogMessage<< "* DOUBLE precision "<<std::endl; if ( sizeof(Real)==8 ) std::cout << GridLogMessage<< "* DOUBLE precision "<<std::endl;
std::cout<<GridLogMessage << "=================================================================================="<<std::endl; std::cout<<GridLogMessage << "=================================================================================="<<std::endl;
int nwarm = 200; int nwarm = 100;
double t0=usecond(); double t0=usecond();
sFGrid->Barrier(); sFGrid->Barrier();
for(int i=0;i<nwarm;i++){ for(int i=0;i<nwarm;i++){
@ -396,7 +396,7 @@ public:
double t1=usecond(); double t1=usecond();
// uint64_t ncall = (uint64_t) 2.5*1000.0*1000.0*nwarm/(t1-t0); // uint64_t ncall = (uint64_t) 2.5*1000.0*1000.0*nwarm/(t1-t0);
// if (ncall < 500) ncall = 500; // if (ncall < 500) ncall = 500;
uint64_t ncall = 1000; uint64_t ncall = 500;
sFGrid->Broadcast(0,&ncall,sizeof(ncall)); sFGrid->Broadcast(0,&ncall,sizeof(ncall));