mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
more digits
This commit is contained in:
parent
9e29fb2c6a
commit
aff5254208
@ -40,7 +40,7 @@ int main (int argc, char ** argv)
|
|||||||
double bytes=3.0*lat*lat*lat*lat*Nc*Nc*sizeof(Complex);
|
double bytes=3.0*lat*lat*lat*lat*Nc*Nc*sizeof(Complex);
|
||||||
double footprint=2.0*lat*lat*lat*lat*Nc*Nc*sizeof(Complex);
|
double footprint=2.0*lat*lat*lat*lat*Nc*Nc*sizeof(Complex);
|
||||||
double flops=Nc*Nc*(6.0+8.0+8.0)*lat*lat*lat*lat;
|
double flops=Nc*Nc*(6.0+8.0+8.0)*lat*lat*lat*lat;
|
||||||
std::cout<<std::setprecision(2) << lat<<"\t\t"<<footprint<<"\t\t"<<bytes/time<<"\t\t" << flops/time<<std::endl;
|
std::cout<<std::setprecision(3) << lat<<"\t\t"<<footprint<<"\t\t"<<bytes/time<<"\t\t" << flops/time<<std::endl;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ int main (int argc, char ** argv)
|
|||||||
|
|
||||||
double bytes=3*lat*lat*lat*lat*Nc*Nc*sizeof(Complex);
|
double bytes=3*lat*lat*lat*lat*Nc*Nc*sizeof(Complex);
|
||||||
double flops=Nc*Nc*(6+8+8)*lat*lat*lat*lat;
|
double flops=Nc*Nc*(6+8+8)*lat*lat*lat*lat;
|
||||||
std::cout<<std::setprecision(2) << lat<<"\t\t"<<bytes<<"\t\t"<<bytes/time<<"\t\t" << flops/time<<std::endl;
|
std::cout<<std::setprecision(3) << lat<<"\t\t"<<bytes<<"\t\t"<<bytes/time<<"\t\t" << flops/time<<std::endl;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ int main (int argc, char ** argv)
|
|||||||
|
|
||||||
double bytes=3*lat*lat*lat*lat*Nc*Nc*sizeof(Complex);
|
double bytes=3*lat*lat*lat*lat*Nc*Nc*sizeof(Complex);
|
||||||
double flops=Nc*Nc*(6+8+8)*lat*lat*lat*lat;
|
double flops=Nc*Nc*(6+8+8)*lat*lat*lat*lat;
|
||||||
std::cout<<std::setprecision(2) << lat<<"\t\t"<<bytes<<"\t\t"<<bytes/time<<"\t\t" << flops/time<<std::endl;
|
std::cout<<std::setprecision(3) << lat<<"\t\t"<<bytes<<"\t\t"<<bytes/time<<"\t\t" << flops/time<<std::endl;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -131,7 +131,7 @@ int main (int argc, char ** argv)
|
|||||||
|
|
||||||
double bytes=3*lat*lat*lat*lat*Nc*Nc*sizeof(Complex);
|
double bytes=3*lat*lat*lat*lat*Nc*Nc*sizeof(Complex);
|
||||||
double flops=Nc*Nc*(8+8+8)*lat*lat*lat*lat;
|
double flops=Nc*Nc*(8+8+8)*lat*lat*lat*lat;
|
||||||
std::cout<<std::setprecision(2) << lat<<"\t\t"<<bytes<<"\t\t"<<bytes/time<<"\t\t" << flops/time<<std::endl;
|
std::cout<<std::setprecision(3) << lat<<"\t\t"<<bytes<<"\t\t"<<bytes/time<<"\t\t" << flops/time<<std::endl;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user