SWDEV-485866 - Return OOM if stream creation fails due to insufficient memory.
Change-Id: I4e57ecc81921bde274bb6a4e0890f0fc6a17955a
This commit is contained in:
zatwierdzone przez
Jaydeepkumar Patel
rodzic
b977101893
commit
5ccc140e1b
@@ -75,6 +75,7 @@ bool Stream::Create() {
|
||||
void Stream::Destroy(hip::Stream* stream) {
|
||||
stream->device_->RemoveStream(stream);
|
||||
stream->release();
|
||||
stream = nullptr;
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
|
||||
Reference in New Issue
Block a user