adding hsa_system_get_info, hsa_amd_profiling_set_profiler_enabled to shadow hsa api table

Change-Id: I18859caa45c268f573210aad0b5d8bcc745d3e2e
This commit is contained in:
Evgeny committed 2019-04-02 12:22:34 -05:00
1 parent 8a69460f1d
commit a91d1e039a
3 files changed
+39 -33

No files matched your search

+1 -1
View File
@@ -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()");
}