diff --git a/projects/hip-tests/catch/hipTestMain/config/config_amd_linux b/projects/hip-tests/catch/hipTestMain/config/config_amd_linux index 4705846baa..99316c9aa1 100644 --- a/projects/hip-tests/catch/hipTestMain/config/config_amd_linux +++ b/projects/hip-tests/catch/hipTestMain/config/config_amd_linux @@ -1383,12 +1383,6 @@ "Unit_hipGraphAddNodeTypeMemset_Positive_Basic - uint16_t", "Unit_hipGraphAddNodeTypeMemset_Positive_Basic - uint32_t", "Unit_hipMemAdvise_TstAlignedAllocMem_XNACK", - "Unit_hipArrayGetDescriptor_Positive_Basic", - "Unit_hipArrayGetDescriptor_Negative_Parameters", - "Unit_hipArrayGetInfo_Positive_Basic", - "Unit_hipArrayGetInfo_Negative_Parameters", - "Unit_hipArray3DGetDescriptor_Positive_Basic", - "Unit_hipArray3DGetDescriptor_Negative_Parameters", "Unit_hipCreateSurfaceObject_Negative_Parameters", "Unit_hipDestroySurfaceObject_Negative_Parameters", "Unit_Device___float2half_rd_Accuracy_Limited_Positive", diff --git a/projects/hip-tests/catch/unit/memory/hipArray3DGetDescriptor.cc b/projects/hip-tests/catch/unit/memory/hipArray3DGetDescriptor.cc index 2ee0c373ee..9bc9c26161 100644 --- a/projects/hip-tests/catch/unit/memory/hipArray3DGetDescriptor.cc +++ b/projects/hip-tests/catch/unit/memory/hipArray3DGetDescriptor.cc @@ -43,6 +43,7 @@ THE SOFTWARE. * - HIP_VERSION >= 5.7 */ TEST_CASE("Unit_hipArray3DGetDescriptor_Positive_Basic") { + CHECK_IMAGE_SUPPORT DrvArrayAllocGuard array(make_hipExtent(1024, 4, 2)); HIP_ARRAY3D_DESCRIPTOR desc; @@ -69,6 +70,7 @@ TEST_CASE("Unit_hipArray3DGetDescriptor_Positive_Basic") { * - HIP_VERSION >= 5.7 */ TEST_CASE("Unit_hipArray3DGetDescriptor_Negative_Parameters") { + CHECK_IMAGE_SUPPORT DrvArrayAllocGuard array(make_hipExtent(1024, 4, 2)); HIP_ARRAY3D_DESCRIPTOR desc; diff --git a/projects/hip-tests/catch/unit/memory/hipArrayGetDescriptor.cc b/projects/hip-tests/catch/unit/memory/hipArrayGetDescriptor.cc index 49bb74fb20..b14c917a3c 100644 --- a/projects/hip-tests/catch/unit/memory/hipArrayGetDescriptor.cc +++ b/projects/hip-tests/catch/unit/memory/hipArrayGetDescriptor.cc @@ -483,6 +483,8 @@ TEST_CASE("Unit_hipArrayGetDescriptor_Negative_Scenarios") { * - HIP_VERSION >= 5.7 */ TEST_CASE("Unit_hipArrayGetDescriptor_Positive_Basic") { + CHECK_IMAGE_SUPPORT + HIP_ARRAY_DESCRIPTOR expected_desc{}; using vec_info = vector_info; expected_desc.Format = vec_info::format; @@ -516,6 +518,8 @@ TEST_CASE("Unit_hipArrayGetDescriptor_Positive_Basic") { * - HIP_VERSION >= 5.7 */ TEST_CASE("Unit_hipArrayGetDescriptor_Negative_Parameters") { + CHECK_IMAGE_SUPPORT + HIP_ARRAY_DESCRIPTOR expected_desc{}; using vec_info = vector_info; expected_desc.Format = vec_info::format; diff --git a/projects/hip-tests/catch/unit/memory/hipArrayGetInfo.cc b/projects/hip-tests/catch/unit/memory/hipArrayGetInfo.cc index a0ff7a5e9a..21d5de2ba4 100644 --- a/projects/hip-tests/catch/unit/memory/hipArrayGetInfo.cc +++ b/projects/hip-tests/catch/unit/memory/hipArrayGetInfo.cc @@ -43,6 +43,8 @@ THE SOFTWARE. * - HIP_VERSION >= 5.7 */ TEST_CASE("Unit_hipArrayGetInfo_Positive_Basic") { + CHECK_IMAGE_SUPPORT + ArrayAllocGuard array(make_hipExtent(1024, 4, 2)); hipChannelFormatDesc desc; @@ -77,6 +79,7 @@ TEST_CASE("Unit_hipArrayGetInfo_Positive_Basic") { * - HIP_VERSION >= 5.7 */ TEST_CASE("Unit_hipArrayGetInfo_Negative_Parameters") { + CHECK_IMAGE_SUPPORT ArrayAllocGuard array(make_hipExtent(1024, 4, 4)); hipChannelFormatDesc desc;