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
这个提交包含在:
gopesh 编写, Gopesh Bhardwaj 于 2023-07-13 11:09:38 -04:00 提交
1 父节点 aca68a58fe
当前提交 45903ec209
2 个文件已更改
+4 -3

没有与搜索条件相匹配的文件

+2 -2
查看文件
@@ -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;
}