From 62c5a23f783daa5ad1d4c7362190acd43e1eac76 Mon Sep 17 00:00:00 2001 From: Jaydeep Patel Date: Thu, 14 Nov 2024 11:48:42 +0000 Subject: [PATCH] SWDEV-497532 - Pass correct stream to MemcpyDeviceToDeviceShell to sync. Change-Id: I7fe2b39e49725d01e7d9ec5b4ab9927a96dc951c [ROCm/hip-tests commit: eb894a8b8d523907bf9de72d84c55a6e213e8cb8] --- .../hip-tests/catch/unit/memory/hipMemcpyAsync_derivatives.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip-tests/catch/unit/memory/hipMemcpyAsync_derivatives.cc b/projects/hip-tests/catch/unit/memory/hipMemcpyAsync_derivatives.cc index b2583d1ccc..1fabfd3785 100644 --- a/projects/hip-tests/catch/unit/memory/hipMemcpyAsync_derivatives.cc +++ b/projects/hip-tests/catch/unit/memory/hipMemcpyAsync_derivatives.cc @@ -133,14 +133,14 @@ TEST_CASE("Unit_hipMemcpyDtoDAsync_Positive_Basic") { [stream = stream_guard.stream()](void* dst, void* src, size_t count) { return hipMemcpyDtoDAsync(reinterpret_cast(dst), reinterpret_cast(src), count, stream); - }); + }, stream_guard.stream()); } SECTION("Peer access disabled") { MemcpyDeviceToDeviceShell( [stream = stream_guard.stream()](void* dst, void* src, size_t count) { return hipMemcpyDtoDAsync(reinterpret_cast(dst), reinterpret_cast(src), count, stream); - }); + }, stream_guard.stream()); } } }