Use 2X for bidir memory bandwidth calc

[ROCm/hip-tests commit: 9fef6f860c]
This commit is contained in:
Ben Sander
2017-10-21 07:47:32 -05:00
parent 4ddfe042c6
commit f9cf19daf4
@@ -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);