From eb3fdb8a8a96a3e4dee9de6fbb52c1a8733a4a6e Mon Sep 17 00:00:00 2001 From: Vladana Stojiljkovic Date: Mon, 8 Apr 2024 12:32:17 +0200 Subject: [PATCH] SWDEV-454667 - Fix Unit_hipGraphAddNodeTypeEventWait_Positive_Basic test case Change-Id: I68c6ce4d0622a7bcc5908f2901c568cbaa18c448 [ROCm/hip-tests commit: ee9da46aab800d1c433c63e58c9a120c6cf932d0] --- projects/hip-tests/catch/hipTestMain/config/config_amd_linux | 1 - .../hip-tests/catch/hipTestMain/config/config_amd_windows | 1 - projects/hip-tests/catch/unit/graph/hipGraphAddNode.cc | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/projects/hip-tests/catch/hipTestMain/config/config_amd_linux b/projects/hip-tests/catch/hipTestMain/config/config_amd_linux index 0408b27469..b7536fec07 100644 --- a/projects/hip-tests/catch/hipTestMain/config/config_amd_linux +++ b/projects/hip-tests/catch/hipTestMain/config/config_amd_linux @@ -240,7 +240,6 @@ "Unit_hipFuncSetAttribute_Positive_PreferredSharedMemoryCarveout_Not_Supported", "Unit_hipLaunchCooperativeKernel_Negative_Parameters", "Unit_hipDeviceGetGraphMemAttribute_Positive_ReuseMemory", - "Unit_hipGraphAddNodeTypeEventWait_Positive_Basic", "Unit_hipDrvGraphAddMemsetNode_Negative_Parameters", "Unit_hipDrvGraphAddMemsetNode_hipMalloc3D_2D", "Unit_hipDrvGraphAddMemsetNode_hipMalloc3D_1D", diff --git a/projects/hip-tests/catch/hipTestMain/config/config_amd_windows b/projects/hip-tests/catch/hipTestMain/config/config_amd_windows index a2a12ae969..1a8e574b1a 100644 --- a/projects/hip-tests/catch/hipTestMain/config/config_amd_windows +++ b/projects/hip-tests/catch/hipTestMain/config/config_amd_windows @@ -382,7 +382,6 @@ "Performance_hipMemcpy2D_HostToHost", "Performance_hipMemcpy2DAsync_HostToHost", "Unit_hipDeviceGetGraphMemAttribute_Positive_ReuseMemory", - "Unit_hipGraphAddNodeTypeEventWait_Positive_Basic", "Unit_hipDrvGraphAddMemsetNode_Negative_Parameters", "Unit_hipDrvGraphAddMemsetNode_hipMallocPitch_2D", "Unit_hipDrvGraphAddMemsetNode_hipMallocPitch_1D", diff --git a/projects/hip-tests/catch/unit/graph/hipGraphAddNode.cc b/projects/hip-tests/catch/unit/graph/hipGraphAddNode.cc index 744350f0a0..935ed99797 100644 --- a/projects/hip-tests/catch/unit/graph/hipGraphAddNode.cc +++ b/projects/hip-tests/catch/unit/graph/hipGraphAddNode.cc @@ -440,8 +440,8 @@ TEST_CASE("Unit_hipGraphAddNodeTypeEventWait_Positive_Basic") { // Create a event wait node in graph hipGraphNodeParams wait_node_params = {}; - rec_node_params.type = hipGraphNodeTypeWaitEvent; - rec_node_params.eventWait.event = event; + wait_node_params.type = hipGraphNodeTypeWaitEvent; + wait_node_params.eventWait.event = event; HIP_CHECK(hipGraphAddNode(&event_wait_node, graph, &event_rec_node, 1, &wait_node_params)); // Instantiate and launch the graph