1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

move barrier in Benchmark_wilson

This commit is contained in:
nmeyer-ur 2020-07-08 08:13:40 +02:00
parent 8726e94ea7
commit 337d9dc043

View File

@ -162,6 +162,10 @@ int main (int argc, char ** argv)
for(int i=0;i<ncall;i++){
Dw.Dhop(src,result,0);
}
// Counters
Grid.Barrier();
double t1=usecond();
double flops=single_site_flops*volume*ncall;
@ -197,11 +201,8 @@ int main (int argc, char ** argv)
err = ref-result;
std::cout<<GridLogMessage << "norm diff "<< norm2(err)<<std::endl;
// Counters
Grid.Barrier();
Dw.Report();
// guard
double err0 = norm2(err);