SWDEV-445084 - Add DEBUG_CLR_GRAPH_PACKET_CAPTURE support for hipGraphInstantiateWithFlags/Params
Change-Id: I5096b4c8d73d1faf972dfd23ab86a53d888946c4
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
ca0b50c9ca
commit
d6bc40e822
@@ -1262,10 +1262,6 @@ hipError_t hipGraphInstantiate(hipGraphExec_t* pGraphExec, hipGraph_t graph,
|
||||
hipError_t status = ihipGraphInstantiate(&ge, reinterpret_cast<hip::Graph*>(graph));
|
||||
if (status == hipSuccess) {
|
||||
*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