enable contexts wait

Change-Id: Ie2adf04662fddc8051fb5418904c9c659e264d78
Šī revīzija ir iekļauta:
Evgeny authored and Evgeny Shcherbakov committed 2020-09-21 21:06:03 -04:00
1 vecāks e519076939
revīzija 0d164ba672
2 files changed
+2 -5

No files matched your search

+2 -1
Parādīt failu
@@ -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
Parādīt failu
@@ -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();
}