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 Godavarthy Surya
родитель
05d6f75830
Коммит
f9f995c6d0
@@ -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());
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
|
||||
Ссылка в новой задаче
Block a user