ff5b92b47b
[ROCm/rocprofiler commit: 33b3546fe4]
16 строки
649 B
C++
16 строки
649 B
C++
#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::dispatch_callback_ = NULL;
|
|
InterceptQueue::queue_callback_t InterceptQueue::destroy_callback_ = NULL;
|
|
void* InterceptQueue::callback_data_ = NULL;
|
|
InterceptQueue::obj_map_t* InterceptQueue::obj_map_ = NULL;
|
|
const char* InterceptQueue::kernel_none_ = "";
|
|
} // namespace rocprofiler
|