SWDEV-429053 - Add check for StreamLegacy
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com> Change-Id: I402185a3b81935aaa1c8c4963407b8de21c72d8a
Этот коммит содержится в:
коммит произвёл
Maneesh Gupta
родитель
4f7830c998
Коммит
627ccfa502
@@ -80,7 +80,7 @@ void Stream::Destroy(hip::Stream* stream) {
|
||||
// ================================================================================================
|
||||
bool isValid(hipStream_t& stream) {
|
||||
// NULL stream is always valid
|
||||
if (stream == nullptr) {
|
||||
if (stream == nullptr || stream == hipStreamLegacy) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user