SWDEV-317017 - hipGraphExecChildGraphNodeSetParams() path to *NodeSetParams
Change-Id: Iedcbccccb9a2765e08feebd75fb13f3ff83623dc
[ROCm/clr commit: cd4591530d]
This commit is contained in:
committed by
Sourabh Betigeri
parent
0d4a2c78c2
commit
4e4feda7b3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user