SWDEV-470698 - fix formatting, add format check workflow (#657)

This commit is contained in:
Danylo Lytovchenko
2025-08-20 16:28:06 +02:00
committed by GitHub
parent 5840940caa
commit f7338717ae
1574 changed files with 162972 additions and 199346 deletions
@@ -224,17 +224,17 @@ TEST_CASE("Unit_hipMallocManaged_OverSubscription") {
return;
}
#if HT_AMD
int isPageableHMM = 0;
HIP_CHECK(hipDeviceGetAttribute(&isPageableHMM,
hipDeviceAttributePageableMemoryAccess, 0));
if (!isPageableHMM) {
SUCCEED("Running on a system where all the memory requested in hipMallocManged "
"is allocated on the host.\nThis can cause instability because of out of memory failures.\n"
"Hence skipping the test with Pass result.\n");
return;
}
#endif
#if HT_AMD
int isPageableHMM = 0;
HIP_CHECK(hipDeviceGetAttribute(&isPageableHMM, hipDeviceAttributePageableMemoryAccess, 0));
if (!isPageableHMM) {
SUCCEED(
"Running on a system where all the memory requested in hipMallocManged "
"is allocated on the host.\nThis can cause instability because of out of memory failures.\n"
"Hence skipping the test with Pass result.\n");
return;
}
#endif
void* A = nullptr;
size_t total = 0, free = 0;