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
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
05d6f75830
commit
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());
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
|
||||
Reference in New Issue
Block a user