SWDEV-445084 - Add DEBUG_CLR_GRAPH_PACKET_CAPTURE support for hipGraphInstantiateWithFlags/Params

Change-Id: I5096b4c8d73d1faf972dfd23ab86a53d888946c4
This commit is contained in:
Anusha GodavarthySurya
2024-02-07 17:37:24 +00:00
committed by Anusha Godavarthy Surya
parent ca0b50c9ca
commit d6bc40e822
2 changed files with 8 additions and 5 deletions
-4
View File
@@ -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);
}