SWDEV-480209 - Handle GraphExec object release

=> GraphExec instance is destroyed before async launch completes,
destroy after all pending graph launches
=> Remove GraphExec destroy during next sync point(hipStreamSync,
hipDeviceSync etc..)

Change-Id: I4df682aae5787fd6e5240a7be936ce50361345d0
Этот коммит содержится в:
Anusha GodavarthySurya
2024-10-01 12:00:46 +00:00
коммит произвёл Anusha Godavarthy Surya
родитель 05d6f75830
Коммит f9f995c6d0
7 изменённых файлов: 46 добавлений и 74 удалений
-2
Просмотреть файл
@@ -274,8 +274,6 @@ 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());
}
// ================================================================================================