Skip to content

Commit

Permalink
Flop count set as in DiRAC-ITT-2020 (mistaken 20% low, but must maint…
Browse files Browse the repository at this point in the history
…ain consistency)
  • Loading branch information
paboyle committed Nov 16, 2020
1 parent 9c4dcc5 commit 3aab983
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions benchmarks/Benchmark_ITT.cc
Expand Up @@ -445,7 +445,7 @@ class Benchmark {
// 1344= 3*(2*8+6)*2*8 + 8*3*2*2 + 3*4*2*8
// 1344 = Nc* (6+(Nc-1)*8)*2*Nd + Nd*Nc*2*2 + Nd*Nc*Ns*2
// double flops=(1344.0*volume)/2;
#if 1
#if 0
double fps = Nc* (6+(Nc-1)*8)*Ns*Nd + Nd*Nc*Ns + Nd*Nc*Ns*2;
#else
double fps = Nc* (6+(Nc-1)*8)*Ns*Nd + 2*Nd*Nc*Ns + 2*Nd*Nc*Ns*2;
Expand Down Expand Up @@ -512,7 +512,6 @@ class Benchmark {
NN_global=NN;
uint64_t SHM=NP/NN;

Coordinate latt4({local[0]*mpi[0],local[1]*mpi[1],local[2]*mpi[2],local[3]*mpi[3]});

///////// Welcome message ////////////
std::cout<<GridLogMessage << "=================================================================================="<<std::endl;
Expand Down

0 comments on commit 3aab983

Please sign in to comment.