SWDEV-385838 - Don't run Unit_HMM_OverSubscriptionTst test on non xnack device. (#271)

Change-Id: I342affb0cd62ce8fab4b35d6c9e0f1b6fb75bee9
이 커밋은 다음에 포함됨:
ROCm CI Service Account 작성하고 GitHub가 2023-06-21 15:59:58 +05:30를 커밋함
1 부모 b65b09234d
커밋 9a40c9a6da
1 파일이 변경됨
+8
+8
파일 보기
@@ -140,6 +140,14 @@ static void DisplayHmmFlgs(int *Signal) {
}
TEST_CASE("Unit_HMM_OverSubscriptionTst") {
hipDeviceProp_t prop;
HIP_CHECK(hipGetDeviceProperties(&prop, 0));
char *p = nullptr;
p = strstr(prop.gcnArchName, "xnack+");
if (p == nullptr) {
INFO("Skipped due current device is non xnack device.");
return;
}
int HmmEnabled = 0;
// The following Shared Mem is to get Max GPU Mem
// The size requested is for three ints