SWDEV-317017 - hipGraphExecChildGraphNodeSetParams() path to *NodeSetParams

Change-Id: Iedcbccccb9a2765e08feebd75fb13f3ff83623dc
Dieser Commit ist enthalten in:
Sourabh Betigeri
2022-02-14 14:16:42 -08:00
committet von Sourabh Betigeri
Ursprung aee5c48848
Commit cd4591530d
+5 -1
Datei anzeigen
@@ -1147,7 +1147,11 @@ hipError_t hipGraphExecChildGraphNodeSetParams(hipGraphExec_t hGraphExec, hipGra
if (hGraphExec == nullptr || node == nullptr || childGraph == nullptr) {
HIP_RETURN(hipErrorInvalidValue);
}
HIP_RETURN(hipSuccess);
hipGraphNode_t clonedNode = hGraphExec->GetClonedNode(node);
if (clonedNode == nullptr) {
HIP_RETURN(hipErrorInvalidValue);
}
HIP_RETURN(reinterpret_cast<hipChildGraphNode*>(clonedNode)->SetParams(childGraph));
}
hipError_t hipStreamGetCaptureInfo(hipStream_t stream, hipStreamCaptureStatus* pCaptureStatus,