Add fflush(stdout) before perf output

[ROCm/rccl-tests commit: 3bd2bd292b]
This commit is contained in:
David Addison
2022-11-22 11:16:47 -08:00
parent c0e3f4d443
commit 04b5c40b1c
+2
View File
@@ -969,6 +969,8 @@ testResult_t run() {
errors[t] = bw_count[t] = 0;
}
fflush(stdout);
const char* timeStr = report_cputime ? "cputime" : "time";
PRINT("#\n");
PRINT("# %10s %12s %8s %6s %6s out-of-place in-place \n", "", "", "", "", "");