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
committed by Anusha Godavarthy Surya
parent c9dd95bf6c
commit 683a942364
11 changed files with 38 additions and 34 deletions
+2 -1
View 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;
}