Use 2X for bidir memory bandwidth calc

[ROCm/clr commit: 21689e8710]
Этот коммит содержится в:
Ben Sander
2017-10-21 07:47:32 -05:00
родитель 255a770364
Коммит eee60317fa
+1 -1
Просмотреть файл
@@ -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);