SWDEV-388926 - Original and new memory should be from same device for hipGraphExecMemsetNodeSetParams.

Change-Id: I32bd56db0b80d748e3ae0737a38ea975738bdab7
This commit is contained in:
Jaydeep Patel
2023-03-20 09:26:16 +00:00
committed by Maneesh Gupta
parent 8c62a616a2
commit ec227d560a
2 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -1479,7 +1479,7 @@ hipError_t hipGraphExecMemsetNodeSetParams(hipGraphExec_t hGraphExec, hipGraphNo
if (clonedNode == nullptr) {
HIP_RETURN(hipErrorInvalidValue);
}
HIP_RETURN(reinterpret_cast<hipGraphMemsetNode*>(clonedNode)->SetParams(pNodeParams));
HIP_RETURN(reinterpret_cast<hipGraphMemsetNode*>(clonedNode)->SetParams(pNodeParams, true));
}
hipError_t hipGraphAddDependencies(hipGraph_t graph, const hipGraphNode_t* from,