diff --git a/projects/hip/tests/catch/unit/memory/hipArrayCreate.cc b/projects/hip/tests/catch/unit/memory/hipArrayCreate.cc index 1db90d8a1b..6cc535593a 100644 --- a/projects/hip/tests/catch/unit/memory/hipArrayCreate.cc +++ b/projects/hip/tests/catch/unit/memory/hipArrayCreate.cc @@ -212,13 +212,6 @@ void testArrayAsTexture(hiparray array, const size_t width, const size_t height) // Test the happy path of the hipArrayCreate TEMPLATE_TEST_CASE("Unit_hipArrayCreate_happy", "", uint, int, int4, ushort, short2, char, uchar2, char4, float, float2, float4) { -#if HT_AMD - if (std::is_same::value || std::is_same::value || - std::is_same::value) { - HipTest::HIP_SKIP_TEST("Probably EXSWCPHIPT-62"); - return; - } -#endif using vec_info = vector_info; DriverContext ctx; @@ -228,8 +221,6 @@ TEMPLATE_TEST_CASE("Unit_hipArrayCreate_happy", "", uint, int, int4, ushort, sho desc.Width = 1024; desc.Height = GENERATE(0, 1024); - size_t initFree = getFreeMem(); - // pointer to the array in device memory hiparray array{}; @@ -237,12 +228,6 @@ TEMPLATE_TEST_CASE("Unit_hipArrayCreate_happy", "", uint, int, int4, ushort, sho testArrayAsTexture(array, desc.Width, desc.Height); - size_t finalFree = getFreeMem(); - - const size_t allocSize = sizeof(TestType) * desc.Width * (desc.Height ? desc.Height : 1); - // will be aligned to some size, so this is not exact - REQUIRE(initFree - finalFree >= allocSize); - HIP_CHECK(hipArrayDestroy(array)); } diff --git a/projects/hip/tests/catch/unit/memory/hipMallocArray.cc b/projects/hip/tests/catch/unit/memory/hipMallocArray.cc index 680d08057c..b6c4939b1e 100644 --- a/projects/hip/tests/catch/unit/memory/hipMallocArray.cc +++ b/projects/hip/tests/catch/unit/memory/hipMallocArray.cc @@ -385,15 +385,9 @@ void testArrayAsSurface(hipArray_t arrayPtr, const size_t width, const size_t he // Selection of types chosen to reduce compile times TEMPLATE_TEST_CASE("Unit_hipMallocArray_happy", "", uint, int, int4, ushort, short2, char, uchar2, char4, float, float2, float4) { -#if HT_AMD - HipTest::HIP_SKIP_TEST("EXSWCPHIPT-62"); - return; -#endif hipChannelFormatDesc desc = hipCreateChannelDesc(); - size_t init_free = getFreeMem(); - // pointer to the array in device memory hipArray_t arrayPtr{}; size_t width = 1024; @@ -426,12 +420,6 @@ TEMPLATE_TEST_CASE("Unit_hipMallocArray_happy", "", uint, int, int4, ushort, sho } #endif - size_t final_free = getFreeMem(); - - const size_t alloc_size = getAllocSize(width, height); - // alloc will be chunked, so this is not exact - REQUIRE(init_free - final_free >= alloc_size); - HIP_CHECK(hipFreeArray(arrayPtr)); }