SWDEV-469422 - Refacor childgraph node
Remove static functions in graph
Change-Id: I4df94915f81f250acaea60398aea32ef0ed658e2
[ROCm/clr commit: 28cbf2bc4f]
Esse commit está contido em:
1 pai
704be8ab01
commit
acfcd1098f
3 files changed
+78
-68
No files matched your search
@@ -1864,8 +1864,9 @@ hipError_t hipGraphExecChildGraphNodeSetParams(hipGraphExec_t hGraphExec, hipGra
|
||||
reinterpret_cast<hip::ChildGraphNode*>(clonedNode)->TopologicalOrder(childGraphNodes);
|
||||
for (std::vector<hip::GraphNode*>::size_type i = 0; i != childGraphNodes.size(); i++) {
|
||||
if (childGraphNodes[i]->GraphCaptureEnabled()) {
|
||||
status = reinterpret_cast<hip::GraphExec*>(hGraphExec)
|
||||
->UpdateAQLPacket(reinterpret_cast<hip::GraphKernelNode*>(childGraphNodes[i]));
|
||||
status = reinterpret_cast<hip::ChildGraphNode*>(clonedNode)
|
||||
->graphExec_.UpdateAQLPacket(
|
||||
reinterpret_cast<hip::GraphKernelNode*>(childGraphNodes[i]));
|
||||
if (status != hipSuccess) {
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in new issue
Bloquear um usuário