enable contexts wait

Change-Id: Ie2adf04662fddc8051fb5418904c9c659e264d78


[ROCm/rocprofiler commit: 0d164ba672]
This commit is contained in:
Evgeny
2020-09-20 00:38:30 -05:00
committed by Evgeny Shcherbakov
parent cd9fdbbb47
commit fc99b9a657
2 changed files with 2 additions and 5 deletions
@@ -537,7 +537,8 @@ PUBLIC_API bool OnLoad(HsaApiTable* table, uint64_t runtime_version, uint64_t fa
rocprofiler::StandaloneIntercept();
}
ONLOAD_TRACE_END();
ONLOAD_TRACE("end intercept_mode(" << std::hex << intercept_mode << ")" <<
" intercept_mode_mask(" << std::hex << intercept_mode_mask << ")" << std::dec);
return true;
}
-4
View File
@@ -1621,8 +1621,6 @@ void rocprofiler_unload(bool is_destr) {
abort();
}
if (is_destr) CTX_OUTSTANDING_WAIT = 0;
// Unregister dispatch callback
rocprofiler_remove_queue_callbacks();
@@ -1642,7 +1640,6 @@ void rocprofiler_unload(bool is_destr) {
}
fflush(stdout);
#if 0
// Cleanup
if (callbacks_data != NULL) {
delete[] callbacks_data->features;
@@ -1659,7 +1656,6 @@ void rocprofiler_unload(bool is_destr) {
range_vec = NULL;
delete context_array;
context_array = NULL;
#endif
ONLOAD_TRACE_END();
}