adding kernel free callback and recursion guard

Change-Id: I1ff6bba3503150745d7fc533c9db24480d476d23
Bu işleme şunda yer alıyor:
Evgeny
2018-09-06 13:46:23 -05:00
ebeveyn 304568c1a3
işleme 704420bead
2 değiştirilmiş dosya ile 8 ekleme ve 2 silme
+1
Dosyayı Görüntüle
@@ -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{};