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


[ROCm/rocprofiler commit: 45903ec209]
이 커밋은 다음에 포함됨:
gopesh
2023-07-13 00:50:05 -05:00
커밋한 사람 Gopesh Bhardwaj
부모 3c1c47cc04
커밋 3cb95ad0da
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
+2 -1
파일 보기
@@ -71,7 +71,8 @@ if [ -n "$ROCM_RPATH" ] ; then LD_RUNPATH_FLAG=" -Wl,--enable-new-dtags -Wl,--rp
if [ -z "$TO_CLEAN" ] ; then TO_CLEAN=yes; fi
if [ -z "$RUN_TEST" ] ; then RUN_TEST=no; fi
if [ -z "$ASAN" ] ; then ASAN=False; fi
if [ -z "$GPU_LIST" ] ; then GPU_LIST="gfx900 gfx906 gfx908 gfx90a gfx1030 gfx1100"; fi
if [ -z "$GPU_LIST" ] ; then GPU_LIST="gfx900 gfx906 gfx908 gfx90a gfx940 gfx941 gfx942 gfx1030 gfx1100 gfx1101 gfx1102"; fi
ROCPROFILER_ROOT=$(cd $ROCPROFILER_ROOT && echo $PWD)
+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;
}