Use 2X for bidir memory bandwidth calc

Tá an tiomantas seo le fáil i:
Ben Sander tiomanta 2017-10-21 07:47:32 -05:00
1 tuismitheoir 451f36a42a
tiomantas 9fef6f860c
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -594,7 +594,7 @@ void RunBenchmark_Bidir(ResultDatabase &resultDB)
" ms\n";
}
double speed = (double(sizeToBytes(thisSize)) / (1000*1000)) / t;
double speed = (double(sizeToBytes(2*thisSize)) / (1000*1000)) / t;
char sizeStr[256];
sprintf(sizeStr, "%9s", sizeToString(thisSize).c_str());
resultDB.AddResult(std::string("Bidir_Bandwidth") + "_" + mallocModeString(p_malloc_mode), sizeStr, "GB/sec", speed);