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

Change-Id: I32bd56db0b80d748e3ae0737a38ea975738bdab7


[ROCm/clr commit: ec227d560a]
This commit is contained in:
Jaydeep Patel
2023-03-20 09:26:16 +00:00
zatwierdzone przez Maneesh Gupta
rodzic a2e1a1b4aa
commit 90a00bc681
2 zmienionych plików z 14 dodań i 2 usunięć
+1 -1
Wyświetl plik
@@ -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,