SWDEV-325711 - Added implementation for graph API hipGraphKernelNodeCopyAttributes

Change-Id: I576d0e81c69097fe881556f6d022bb7c7ca3287b
This commit is contained in:
Anusha GodavarthySurya
2022-11-28 17:19:26 +00:00
vanhempi 1ab46fe7ae
commit 3a9621574c
2 muutettua tiedostoa jossa 41 lisäystä ja 16 poistoa
+5 -1
Näytä tiedosto
@@ -2141,7 +2141,11 @@ hipError_t hipGraphReleaseUserObject(hipGraph_t graph, hipUserObject_t object, u
hipError_t hipGraphKernelNodeCopyAttributes(hipGraphNode_t hSrc, hipGraphNode_t hDst) {
HIP_INIT_API(hipGraphKernelNodeCopyAttributes, hSrc, hDst);
HIP_RETURN(hipErrorNotSupported);
if(hSrc == nullptr || hDst == nullptr) {
HIP_RETURN(hipErrorInvalidValue);
}
HIP_RETURN(reinterpret_cast<hipGraphKernelNode*>(hDst)->CopyAttr(
reinterpret_cast<hipGraphKernelNode*>(hSrc)));
}
hipError_t ihipGraphDebugDotPrint(hipGraph_t graph, const char* path, unsigned int flags) {