SWDEV-480209 - Make internal callbacks non-blocking

Change-Id: Ic918d08f341abfd9a7c167d09f9c723cdc43157f
This commit is contained in:
Anusha GodavarthySurya
2024-10-28 09:23:25 +00:00
committato da Anusha Godavarthy Surya
parent c9dd95bf6c
commit 683a942364
11 ha cambiato i file con 38 aggiunte e 34 eliminazioni
+2 -1
Vedi File
@@ -72,8 +72,9 @@ bool Stream::Create() {
}
// ================================================================================================
void Stream::Destroy(hip::Stream* stream) {
void Stream::Destroy(hip::Stream* stream, bool forceDestroy) {
stream->device_->RemoveStream(stream);
stream->SetForceDestroy(forceDestroy);
stream->release();
stream = nullptr;
}