Suppress reporting no tools were found with rocprofiler-register

Change-Id: If853517d40e073202d12e2a6b16fb54be5529650
Этот коммит содержится в:
Jonathan R. Madsen
2024-01-11 12:41:32 -06:00
коммит произвёл Jonathan Madsen
родитель e20f41df62
Коммит 8f0ea44c09
2 изменённых файлов: 21 добавлений и 4 удалений
+7 -1
Просмотреть файл
@@ -150,6 +150,7 @@ class Flag {
var = os::GetEnvVar("HSA_TOOLS_REPORT_LOAD_FAILURE");
report_tool_load_failures_explicit_ = (var.empty()) ? false : true;
ifdebug {
report_tool_load_failures_ = (var == "1") ? true : false;
} else {
@@ -185,7 +186,7 @@ class Flag {
var = os::GetEnvVar("HSA_IGNORE_SRAMECC_MISREPORT");
check_sramecc_validity_ = (var == "1") ? false : true;
// Legal values are zero "0" or one "1". Any other value will
// be interpreted as not defining the env variable.
var = os::GetEnvVar("HSA_XNACK");
@@ -248,6 +249,10 @@ class Flag {
bool report_tool_load_failures() const { return report_tool_load_failures_; }
bool report_tool_load_failures_explicitly_set() const {
return report_tool_load_failures_explicit_;
}
bool disable_fragment_alloc() const { return disable_fragment_alloc_; }
bool rev_copy_dir() const { return rev_copy_dir_; }
@@ -334,6 +339,7 @@ class Flag {
bool sdma_wait_idle_;
bool enable_queue_fault_message_;
bool report_tool_load_failures_;
bool report_tool_load_failures_explicit_;
bool disable_fragment_alloc_;
bool rev_copy_dir_;
bool fine_grain_pcie_;