SWDEV-497532 - Pass correct stream to MemcpyDeviceToDeviceShell to sync.
Change-Id: I7fe2b39e49725d01e7d9ec5b4ab9927a96dc951c
[ROCm/hip-tests commit: eb894a8b8d]
This commit is contained in:
1 parent
e403f56351
commit
62c5a23f78
1 file changed
+2
-2
@@ -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<hipDeviceptr_t>(dst),
|
||||
reinterpret_cast<hipDeviceptr_t>(src), count, stream);
|
||||
});
|
||||
}, stream_guard.stream());
|
||||
}
|
||||
SECTION("Peer access disabled") {
|
||||
MemcpyDeviceToDeviceShell<true, false>(
|
||||
[stream = stream_guard.stream()](void* dst, void* src, size_t count) {
|
||||
return hipMemcpyDtoDAsync(reinterpret_cast<hipDeviceptr_t>(dst),
|
||||
reinterpret_cast<hipDeviceptr_t>(src), count, stream);
|
||||
});
|
||||
}, stream_guard.stream());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user