From 2896b2c2d9b2319ec8b6a81ebffe7d4e28d29349 Mon Sep 17 00:00:00 2001 From: Branislav Brzak Date: Mon, 30 Sep 2024 11:36:43 +0000 Subject: [PATCH] SWDEV-483315 - Add hipGraphNodeGetDependentNodes_v2 Change-Id: I418d0c2a5a77b07603e4e481fd9547cf43b03a20 [ROCm/hipother commit: e22853eb4d89460682ea89a091e43b315f957a4e] --- .../include/hip/nvidia_detail/nvidia_hip_runtime_api.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h index 20d761d058..4ebf6edf82 100644 --- a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h +++ b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h @@ -3711,6 +3711,14 @@ inline static hipError_t hipStreamBeginCaptureToGraph(hipStream_t stream, hipGra return hipCUDAErrorTohipError(cudaStreamBeginCaptureToGraph( stream, graph, dependencies, dependencyData, numDependencies, mode)); } + +inline static hipError_t hipGraphNodeGetDependentNodes_v2(hipGraphNode_t node, + hipGraphNode_t* pDependentNodes, + hipGraphEdgeData* edgeData, + size_t* pNumDependentNodes) { + return hipCUDAErrorTohipError( + cudaGraphNodeGetDependentNodes_v2(node, pDependentNodes, edgeData, pNumDependentNodes)); +} #endif inline static hipError_t hipStreamEndCapture(hipStream_t stream, hipGraph_t* pGraph) { return hipCUDAErrorTohipError(cudaStreamEndCapture(stream, pGraph));