Use 2X for bidir memory bandwidth calc
[ROCm/hip-tests commit: 9fef6f860c]
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user