SWDEV-325711 - Added implementation for graph API hipGraphKernelNodeCopyAttributes
Change-Id: I576d0e81c69097fe881556f6d022bb7c7ca3287b
This commit is contained in:
@@ -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) {
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user