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
This commit is contained in:
1 szülő
7c12d95667
commit
9de3979083
10 files changed
+224
-4
No files matched your search
@@ -44,6 +44,12 @@ __global__ void run_printf(int *count) {
|
||||
* - HIP_VERSION >= 5.7
|
||||
*/
|
||||
TEST_CASE("Unit_Host_Printf") {
|
||||
int pcieAtomic = 0;
|
||||
HIP_CHECK(hipDeviceGetAttribute(&pcieAtomic, hipDeviceAttributeHostNativeAtomicSupported, 0));
|
||||
if (!pcieAtomic) {
|
||||
HipTest::HIP_SKIP_TEST("Device doesn't support pcie atomic, Skipped");
|
||||
return;
|
||||
}
|
||||
int *count{nullptr}, *count_d{nullptr};
|
||||
count = reinterpret_cast<int*>(malloc(sizeof(int)));
|
||||
HIP_CHECK(hipMalloc(&count_d, sizeof(int)));
|
||||
|
||||
Reference in new issue
Block a user