2017-11-09 17:26:19 -06:00
|
|
|
#include "core/simple_proxy_queue.h"
|
|
|
|
|
|
|
|
|
|
namespace rocprofiler {
|
|
|
|
|
void SimpleProxyQueue::HsaIntercept(HsaApiTable* table) {
|
|
|
|
|
table->core_->hsa_signal_store_relaxed_fn = rocprofiler::SimpleProxyQueue::SignalStore;
|
|
|
|
|
table->core_->hsa_queue_load_write_index_relaxed_fn = rocprofiler::SimpleProxyQueue::LoadIndex;
|
|
|
|
|
table->core_->hsa_queue_store_write_index_relaxed_fn = rocprofiler::SimpleProxyQueue::StoreIndex;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::map<signal_handle_t, SimpleProxyQueue*> SimpleProxyQueue::queue_map_;
|
2017-11-29 13:53:12 -06:00
|
|
|
} // namespace rocprofiler
|