ROC profiler prototype sources importing

[ROCm/rocprofiler commit: 85278f08a0]
Этот коммит содержится в:
Evgeny committed 2017-11-09 17:26:19 -06:00
1 родитель b73a5703b5
Коммит 5fea997bc9
63 files changed
+7598

No files matched your search

+15
Просмотреть файл
@@ -0,0 +1,15 @@
#include "core/intercept_queue.h"
namespace rocprofiler {
void InterceptQueue::HsaIntercept(HsaApiTable* table) {
table->core_->hsa_queue_create_fn = rocprofiler::InterceptQueue::QueueCreate;
table->core_->hsa_queue_destroy_fn = rocprofiler::InterceptQueue::QueueDestroy;
}
InterceptQueue::mutex_t InterceptQueue::mutex_;
rocprofiler_callback_t InterceptQueue::on_dispatch_cb_ = NULL;
void* InterceptQueue::on_dispatch_cb_data_ = NULL;
const char* InterceptQueue::tool_lib_ = NULL;
void* InterceptQueue::tool_handle_ = NULL;
InterceptQueue::obj_map_t* InterceptQueue::obj_map_ = NULL;
} // namespace rocprofiler