enable contexts wait

Change-Id: Ie2adf04662fddc8051fb5418904c9c659e264d78


[ROCm/rocprofiler commit: 0d164ba672]
このコミットが含まれているのは:
Evgeny authored and Evgeny Shcherbakov committed 2020-09-21 21:06:03 -04:00
1 親 cd9fdbbb47
コミット fc99b9a657
2ファイル変更
+2 -5

検索条件に一致するファイルはありません

+2 -1
ファイルの表示
@@ -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
ファイルの表示
@@ -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();
}