tool: adding wait list

Change-Id: I6f161ddc9aef953b62e52004bd081327d34a9470
このコミットが含まれているのは:
Evgeny
2018-03-18 04:04:34 -05:00
コミット cc3146ba81
5個のファイルの変更161行の追加66行の削除
+5 -3
ファイルの表示
@@ -41,9 +41,11 @@ class InterceptQueue {
group_segment_size, queue, &status);
if (status != HSA_STATUS_SUCCESS) abort();
if (tracker_on_ && (tracker_ == NULL)) tracker_ = new Tracker(timeout_);
status = hsa_amd_profiling_set_profiler_enabled(*queue, true);
if (status != HSA_STATUS_SUCCESS) abort();
if (tracker_on_ && (tracker_ == NULL)) {
tracker_ = new Tracker(timeout_);
status = hsa_amd_profiling_set_profiler_enabled(*queue, true);
if (status != HSA_STATUS_SUCCESS) abort();
}
if (!obj_map_) obj_map_ = new obj_map_t;
InterceptQueue* obj = new InterceptQueue(agent, *queue, proxy);