SWDEV-422207 - Capture AQL Packets for graph Kernel nodes during graph Inst. And enqueue AQL packet during launch
Change-Id: I1e5f7f9e2a70bd500d190193cb6ba0867f5a63e7
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
3eb46ae588
commit
e63c280d4d
@@ -1177,6 +1177,10 @@ hipError_t hipGraphInstantiate(hipGraphExec_t* pGraphExec, hipGraph_t graph,
|
||||
hip::GraphExec* ge;
|
||||
hipError_t status = ihipGraphInstantiate(&ge, reinterpret_cast<hip::Graph*>(graph));
|
||||
*pGraphExec = reinterpret_cast<hipGraphExec_t>(ge);
|
||||
if (DEBUG_CLR_GRAPH_PACKET_CAPTURE) {
|
||||
// For graph nodes capture AQL packets to dispatch them directly during graph launch.
|
||||
status = ge->CaptureAQLPackets();
|
||||
}
|
||||
HIP_RETURN(status);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user