adding hsa_system_get_info, hsa_amd_profiling_set_profiler_enabled to shadow hsa api table

Change-Id: I18859caa45c268f573210aad0b5d8bcc745d3e2e


[ROCm/rocprofiler commit: a91d1e039a]
This commit is contained in:
Evgeny committed 2019-04-02 12:22:34 -05:00
1 szülő fc1e03f265
commit 06778e004b
3 files changed
+39 -33

No files matched your search

@@ -72,7 +72,7 @@ class InterceptQueue {
if (tracker_on || tracker_on_) {
if (tracker_ == NULL) tracker_ = &Tracker::Instance();
status = hsa_amd_profiling_set_profiler_enabled(*queue, true);
status = rocprofiler::util::HsaRsrcFactory::HsaApi()->hsa_amd_profiling_set_profiler_enabled(*queue, true);
if (status != HSA_STATUS_SUCCESS) EXC_ABORT(status, "hsa_amd_profiling_set_profiler_enabled()");
}