adding kernel free callback and recursion guard

Change-Id: I1ff6bba3503150745d7fc533c9db24480d476d23


[ROCm/rocprofiler commit: 704420bead]
This commit is contained in:
Evgeny
2018-09-06 13:46:23 -05:00
szülő 9d2081ceb4
commit 63087b968d
2 fájl változott, egészen pontosan 8 új sor hozzáadva és 2 régi sor törölve
@@ -885,6 +885,7 @@ hsa_status_t rocprofiler_get_time(
// Static fields
bool rocprofiler::HsaInterceptor::enable_ = false;
thread_local bool rocprofiler::HsaInterceptor::recursion_ = false;;
rocprofiler_hsa_callbacks_t rocprofiler::HsaInterceptor::callbacks_{};
rocprofiler::HsaInterceptor::arg_t rocprofiler::HsaInterceptor::arg_{};
hsa_ven_amd_loader_1_01_pfn_t rocprofiler::HsaInterceptor::LoaderApiTable{};