From 9b27759df11df5fa9ec1756ff81309c3bebb814b Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Wed, 28 Jul 2021 11:34:50 -0400 Subject: [PATCH] SWDEV-240806 - Fix Windows build Fixes error "All control paths should return a value". Change-Id: I4178ee4b644cd54629bd2a2f4c57eb58d2709ab8 [ROCm/clr commit: 578b6d32f4878d4bda5ff461e6d2f646b8efc686] --- projects/clr/hipamd/src/hip_graph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/hipamd/src/hip_graph.cpp b/projects/clr/hipamd/src/hip_graph.cpp index 623e2f024c..3fe58aa1b0 100644 --- a/projects/clr/hipamd/src/hip_graph.cpp +++ b/projects/clr/hipamd/src/hip_graph.cpp @@ -50,6 +50,7 @@ hipError_t ihipValidateKernelParams(const hipKernelNodeParams* pNodeParams) { if (status != hipSuccess) { return status; } + return hipSuccess; } hipError_t ihipGraphAddKernelNode(hipGraphNode_t* pGraphNode, hipGraph_t graph,