ROC profiler prototype sources importing

Этот коммит содержится в:
Evgeny
2017-11-09 17:26:19 -06:00
родитель 54156e1953
Коммит 85278f08a0
63 изменённых файлов: 7598 добавлений и 0 удалений
+11
Просмотреть файл
@@ -0,0 +1,11 @@
#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_;
} // namespace rocprofiler