SWDEV-480209 - Make internal callbacks non-blocking
Change-Id: Ic918d08f341abfd9a7c167d09f9c723cdc43157f
This commit is contained in:
committato da
Anusha Godavarthy Surya
parent
c9dd95bf6c
commit
683a942364
@@ -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;
|
||||
}
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user