From bca0baebc25caa4b51be7cb36c140dc3011bf578 Mon Sep 17 00:00:00 2001 From: Rahul Manocha Date: Wed, 10 Apr 2024 17:33:04 -0700 Subject: [PATCH] [SWDEV-454665][SWDEV-454678] - check image support for hipGraphclone test Change-Id: I09de0bb5254b51874c563ddc1cd6ef83ab717928 [ROCm/hip-tests commit: 3ea71945f240bdead6278ebc7e9e334bceaa46c5] --- projects/hip-tests/catch/hipTestMain/config/config_amd_linux | 3 --- projects/hip-tests/catch/unit/graph/hipGraphAddNode.cc | 2 ++ projects/hip-tests/catch/unit/graph/hipGraphCloneComplx.cc | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/projects/hip-tests/catch/hipTestMain/config/config_amd_linux b/projects/hip-tests/catch/hipTestMain/config/config_amd_linux index d483567bc0..9e191865ea 100644 --- a/projects/hip-tests/catch/hipTestMain/config/config_amd_linux +++ b/projects/hip-tests/catch/hipTestMain/config/config_amd_linux @@ -101,8 +101,6 @@ "Unit_hipEventDestroy_WithWaitingStream", "=== Below tests fail in stress test on 23/06/23 ===", "Unit_hipIpcMemAccess_ParameterValidation", - "Unit_hipGraphClone_Test_hipGraphExecMemcpyNodeSetParams", - "Unit_hipGraphClone_Test_hipGraphMemcpyNodeSetParams1D_and_exec", "=== Below tests fail in stress test on 30/06/23 ===", "Unit_hipMemcpyParam2DAsync_multiDevice-StreamOnDiffDevice", "=== Below tests fail in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/96 ===", @@ -1386,7 +1384,6 @@ "Unit_hipGraphAddNodeTypeMemset_Positive_Basic - uint8_t", "Unit_hipGraphAddNodeTypeMemset_Positive_Basic - uint16_t", "Unit_hipGraphAddNodeTypeMemset_Positive_Basic - uint32_t", - "Unit_hipGraphAddNodeTypeMemcpy_Positive_Basic", "Unit_hipMemAdvise_TstAlignedAllocMem_XNACK", "Unit_hipArrayGetDescriptor_Positive_Basic", "Unit_hipArrayGetDescriptor_Negative_Parameters", diff --git a/projects/hip-tests/catch/unit/graph/hipGraphAddNode.cc b/projects/hip-tests/catch/unit/graph/hipGraphAddNode.cc index 136720dbab..744350f0a0 100644 --- a/projects/hip-tests/catch/unit/graph/hipGraphAddNode.cc +++ b/projects/hip-tests/catch/unit/graph/hipGraphAddNode.cc @@ -326,6 +326,8 @@ static hipError_t MemcpyType3DWrapper(PtrVariant dst_ptr, hipPos dst_pos, PtrVar * - HIP_VERSION >= 6.0 */ TEST_CASE("Unit_hipGraphAddNodeTypeMemcpy_Positive_Basic") { + CHECK_IMAGE_SUPPORT + constexpr bool async = false; SECTION("Device to host") { Memcpy3DDeviceToHostShell(MemcpyType3DWrapper); } diff --git a/projects/hip-tests/catch/unit/graph/hipGraphCloneComplx.cc b/projects/hip-tests/catch/unit/graph/hipGraphCloneComplx.cc index 5c0af1c79e..6f0dd323ef 100644 --- a/projects/hip-tests/catch/unit/graph/hipGraphCloneComplx.cc +++ b/projects/hip-tests/catch/unit/graph/hipGraphCloneComplx.cc @@ -610,6 +610,8 @@ static void hipGraphClone_Test_hipGraphExecMemcpyNodeSetParams() { } TEST_CASE("Unit_hipGraphClone_Test_hipGraphExecMemcpyNodeSetParams") { + CHECK_IMAGE_SUPPORT + hipGraphClone_Test_hipGraphExecMemcpyNodeSetParams(); }