SWDEV-460770 - Handle Graph Exec release

Handle GraphExec instance is destroyed before async launch completes
GraphExec instance is destroyed after async launch completes
GraphExec instance is destroyed without a launch

Change-Id: I45a7c82295fea916c7559bd8f796df710513aea1


[ROCm/clr commit: bf4d10ff61]
Šī revīzija ir iekļauta:
Anusha GodavarthySurya authored and Maneesh Gupta committed 2024-05-28 06:28:17 +00:00
1 vecāks 3a67addd48
revīzija 085703c225
7 files changed
+64 -8

No files matched your search

@@ -269,6 +269,8 @@ void Device::SyncAllStreams( bool cpu_wait) {
}
// Release freed memory for all memory pools on the device
ReleaseFreedMemory();
// Release all graph exec objects destroyed by user.
ReleaseGraphExec(hip::getCurrentDevice()->deviceId());
}
// ================================================================================================