SWDEV-429053 - Add check for StreamLegacy

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I402185a3b81935aaa1c8c4963407b8de21c72d8a
Este commit está contenido en:
sdashmiz
2024-01-12 10:51:14 -05:00
cometido por Maneesh Gupta
padre 4f7830c998
commit 627ccfa502
Se han modificado 7 ficheros con 29 adiciones y 24 borrados
+1 -1
Ver fichero
@@ -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();