SWDEV-315595 - Fix for another -ve test

Change-Id: I529c734f32b91cf712348d40fbef00658e7de276


[ROCm/clr commit: be2331bf7b]
Этот коммит содержится в:
Sarbojit Sarkar
2022-03-10 08:50:47 +00:00
коммит произвёл Sarbojit Sarkar
родитель 81f8f73d00
Коммит 8a831bfa39
+1 -1
Просмотреть файл
@@ -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;