Fixing navi v1 test hang

Change-Id: I7416170c126a2d3ec564ed27111f1befc3778b4a

- Added all gpu targets in build script.
- Changed memory order to relaxed seem to work for navi hang
- need to set power state for consistent results

Change-Id: I7416170c126a2d3ec564ed27111f1befc3778b4a
Tento commit je obsažen v:
gopesh
2023-07-13 00:50:05 -05:00
odevzdal Gopesh Bhardwaj
rodič aca68a58fe
revize 45903ec209
2 změnil soubory, kde provedl 4 přidání a 3 odebrání
+2 -2
Zobrazit soubor
@@ -223,7 +223,7 @@ bool TestHsa::Run() {
// Wait on the dispatch signal until the kernel is finished.
// Update wait condition to HSA_WAIT_STATE_ACTIVE for Polling
if (hsa_signal_wait_scacquire(hsa_signal_, HSA_SIGNAL_CONDITION_LT, 1, UINT64_MAX,
if (hsa_signal_wait_relaxed(hsa_signal_, HSA_SIGNAL_CONDITION_LT, 1, UINT64_MAX,
HSA_WAIT_STATE_BLOCKED) != 0) {
TEST_ASSERT("signal_wait failed");
}
@@ -283,5 +283,5 @@ bool TestHsa::Cleanup() {
if (my_queue_) hsa_queue_destroy(hsa_queue_);
hsa_queue_ = NULL;
agent_info_ = NULL;
return true;
return true;
}