Changed macros verbprintf and verbprintf_bare so they write to stdout… (#346)
Flush stdout when listing keys + bump verbose level for GPU count
[ROCm/rocprofiler-systems commit: 74ed76529a]
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
15d4e8d0b9
commit
8e39fd3cab
@@ -338,7 +338,7 @@ main(int argc, char** argv)
|
||||
<< itr.description << "\n";
|
||||
}
|
||||
}
|
||||
std::cout << _msg.str();
|
||||
std::cout << _msg.str() << std::flush;
|
||||
}
|
||||
});
|
||||
parser
|
||||
@@ -521,12 +521,12 @@ main(int argc, char** argv)
|
||||
{
|
||||
verbprintf(0, "Retrieving the GPU HW counters failed: %s", _e.what());
|
||||
}
|
||||
verbprintf(0, "Found %i HIP devices and %zu GPU HW counters\n", gpu_count,
|
||||
verbprintf(1, "Found %i HIP devices and %zu GPU HW counters\n", gpu_count,
|
||||
_num_metrics);
|
||||
}
|
||||
else
|
||||
{
|
||||
verbprintf(0, "No HIP devices found. GPU HW counters will not be available\n");
|
||||
verbprintf(1, "No HIP devices found. GPU HW counters will not be available\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user