SWDEV-274821 SPM initialization fix

Change-Id: I5e27928a60083eff328bab3e79937ce11bce11bd
Dieser Commit ist enthalten in:
Evgeny committed 2021-03-22 09:18:36 +00:00
1 Ursprung 567f457f25
Commit e2c9d13e5b
4 Dateien geändert
+32 -17

Keine Dateien entsprechen Ihrer Suche

+1 -1
Datei anzeigen
@@ -323,7 +323,7 @@ class Context {
for (auto& tuple : profile_vector) {
if (pcsmp_mode_) const_cast<profile_t*>(tuple.profile)->event_count = UINT32_MAX;
const hsa_status_t status =
api_->hsa_ven_amd_aqlprofile_iterate_data(tuple.profile, callback, data);
api_->hsa_ven_amd_aqlprofile_iterate_data(tuple.profile, callback, data);
if (status != HSA_STATUS_SUCCESS) AQL_EXC_RAISING(status, "context iterate data failed");
}
}