SWDEV-445981 - Handle hipGraphExecUpdate to update graph kernel node params with graph performance optimizations

Change-Id: I3b05c6bfc83404152bcae9b31cfdf56af7cc61a4


[ROCm/clr commit: 4b4ec7fc52]
このコミットが含まれているのは:
Anusha GodavarthySurya
2024-02-16 13:54:29 +00:00
committed by Anusha Godavarthy Surya
コミット 4499ded668
+5
ファイルの表示
@@ -2335,6 +2335,11 @@ hipError_t hipGraphExecUpdate(hipGraphExec_t hGraphExec, hipGraph_t hGraph,
*updateResult_out = hipGraphExecUpdateErrorNotSupported;
}
HIP_RETURN(hipErrorGraphExecUpdateFailure);
} else if (DEBUG_CLR_GRAPH_PACKET_CAPTURE &&
oldGraphExecNodes[i]->GetType() == hipGraphNodeTypeKernel) {
status =
reinterpret_cast<hip::GraphExec*>(hGraphExec)
->UpdateAQLPacket(reinterpret_cast<hip::GraphKernelNode*>(oldGraphExecNodes[i]));
}
} else {
*hErrorNode_out = reinterpret_cast<hipGraphNode_t>(newGraphNodes[i]);