SWDEV-429053 - Add check for StreamLegacy

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I402185a3b81935aaa1c8c4963407b8de21c72d8a


[ROCm/clr commit: 627ccfa502]
このコミットが含まれているのは:
sdashmiz authored and Maneesh Gupta committed 2024-05-28 06:31:10 +00:00
1 親 3f5cf1ce8b
コミット 2889266aeb
7ファイル変更
+29 -24

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -91,7 +91,7 @@ void setCurrentDevice(unsigned int index) {
}
hip::Stream* getStream(hipStream_t stream, bool wait) {
if (stream == nullptr) {
if (stream == nullptr || stream == hipStreamLegacy) {
return getNullStream(wait);
} else {
hip::Stream* hip_stream = reinterpret_cast<hip::Stream*>(stream);