SWDEV-1 - Skip tests hanging/failing in Windows PSDB

- Device side memory allocation & printf testcases are hanging because pcie atomics is disabled in recent builds
- Few Coalesced Group testcases also hanging
- Unit_Thread_Block_Getters_Positive_Basic testcase is failing randomly

Change-Id: Ie53515db05c41e879248bb02655a74f0c296aa5f


[ROCm/hip-tests commit: 9de3979083]
This commit is contained in:
Rakesh Roy
2024-04-04 12:00:33 +05:30
committed by Rakesh Roy
parent 3c44acec6b
commit 03d0117d87
10 changed files with 224 additions and 4 deletions
@@ -47,6 +47,12 @@ THE SOFTWARE.
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Unit_Printf_specifier_Sanity_Positive") {
int pcieAtomic = 0;
HIP_CHECK(hipDeviceGetAttribute(&pcieAtomic, hipDeviceAttributeHostNativeAtomicSupported, 0));
if (!pcieAtomic) {
HipTest::HIP_SKIP_TEST("Device doesn't support pcie atomic, Skipped");
return;
}
#if HT_NVIDIA
std::string reference(R"here(xyzzy
%
@@ -147,6 +153,12 @@ x
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Unit_Printf_Negative_Parameters_RTC") {
int pcieAtomic = 0;
HIP_CHECK(hipDeviceGetAttribute(&pcieAtomic, hipDeviceAttributeHostNativeAtomicSupported, 0));
if (!pcieAtomic) {
HipTest::HIP_SKIP_TEST("Device doesn't support pcie atomic, Skipped");
return;
}
hiprtcProgram program{};
const auto program_source = kPrintfParam;