aqlprofile: read API

Change-Id: I896b1fbf1c19608197ac0a99b9d467d8c1bee775


[ROCm/ROCR-Runtime commit: b37027e347]
This commit is contained in:
Evgeny
2018-04-24 21:48:23 -05:00
parent 950dd4d89c
commit cbc3c97252
2 changed files with 15 additions and 1 deletions
@@ -489,6 +489,9 @@ hsa_status_t hsa_system_get_major_extension_table(uint16_t extension, uint16_t v
ext_table.hsa_ven_amd_aqlprofile_stop =
(decltype(::hsa_ven_amd_aqlprofile_stop)*)
os::GetExportAddress(lib, "hsa_ven_amd_aqlprofile_stop");
ext_table.hsa_ven_amd_aqlprofile_read =
(decltype(::hsa_ven_amd_aqlprofile_read)*)
os::GetExportAddress(lib, "hsa_ven_amd_aqlprofile_read");
ext_table.hsa_ven_amd_aqlprofile_legacy_get_pm4 =
(decltype(::hsa_ven_amd_aqlprofile_legacy_get_pm4)*)
os::GetExportAddress(lib, "hsa_ven_amd_aqlprofile_legacy_get_pm4");