SWDEV-429053 - Add check for StreamLegacy

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


[ROCm/clr commit: 627ccfa502]
This commit is contained in:
sdashmiz authored and Maneesh Gupta committed 2024-05-28 06:31:10 +00:00
1 parent 3f5cf1ce8b
commit 2889266aeb
7 files changed
+29 -24

No files matched your search

+1 -1
View File
@@ -674,7 +674,7 @@ hipError_t hipMemcpy_common(void* dst, const void* src, size_t sizeBytes,
CHECK_STREAM_CAPTURING();
hip::Stream* hip_stream = nullptr;
if (stream != nullptr) {
if (stream != nullptr && stream != hipStreamLegacy) {
hip_stream = hip::getStream(stream);
} else {
hip_stream = hip::getNullStream();