mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-25 13:15:55 +01:00
move barrier in Benchmark_wilson
This commit is contained in:
parent
8726e94ea7
commit
337d9dc043
@ -162,6 +162,10 @@ int main (int argc, char ** argv)
|
|||||||
for(int i=0;i<ncall;i++){
|
for(int i=0;i<ncall;i++){
|
||||||
Dw.Dhop(src,result,0);
|
Dw.Dhop(src,result,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Counters
|
||||||
|
Grid.Barrier();
|
||||||
|
|
||||||
double t1=usecond();
|
double t1=usecond();
|
||||||
double flops=single_site_flops*volume*ncall;
|
double flops=single_site_flops*volume*ncall;
|
||||||
|
|
||||||
@ -197,11 +201,8 @@ int main (int argc, char ** argv)
|
|||||||
err = ref-result;
|
err = ref-result;
|
||||||
std::cout<<GridLogMessage << "norm diff "<< norm2(err)<<std::endl;
|
std::cout<<GridLogMessage << "norm diff "<< norm2(err)<<std::endl;
|
||||||
|
|
||||||
// Counters
|
|
||||||
Grid.Barrier();
|
|
||||||
Dw.Report();
|
Dw.Report();
|
||||||
|
|
||||||
|
|
||||||
// guard
|
// guard
|
||||||
double err0 = norm2(err);
|
double err0 = norm2(err);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user