SWDEV-480209 - Make internal callbacks non-blocking
Change-Id: Ic918d08f341abfd9a7c167d09f9c723cdc43157f
[ROCm/clr commit: 683a942364]
This commit is contained in:
1 orang tua
16f14e4b00
melakukan
08c92f4793
11 files changed
+38
-34
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user