SWDEV-315595 - Fix for another -ve test

Change-Id: I529c734f32b91cf712348d40fbef00658e7de276


[ROCm/clr commit: be2331bf7b]
This commit is contained in:
Sarbojit Sarkar authored and Sarbojit Sarkar committed 2022-03-14 04:03:59 -04:00
1 parent 81f8f73d00
commit 8a831bfa39
1 file changed
+1 -1
+1 -1
View File
@@ -1527,7 +1527,7 @@ hipError_t hipGraphAddMemcpyNodeToSymbol(hipGraphNode_t* pGraphNode, hipGraph_t
HIP_INIT_API(hipGraphAddMemcpyNodeToSymbol, pGraphNode, graph, pDependencies, numDependencies,
symbol, src, count, offset, kind);
if (pGraphNode == nullptr || graph == nullptr || src == nullptr ||
(pDependencies == nullptr && numDependencies > 0)) {
!ihipGraph::isGraphValid(graph) || (pDependencies == nullptr && numDependencies > 0)) {
HIP_RETURN(hipErrorInvalidValue);
}
size_t sym_size = 0;