SWDEV-549309 - Ensure that the kernel is issued to a stream that is ass… (#552)
* SWDEV-549309 - Ensure that the kernel is issued to a stream that is associated to the current device
* SWDEV-549309 - Ensure that the kernel is issued to a stream that is associated to the current device in atomic tests
* SWDEV-549309 - Added fix for Unit_hipMallocFromPoolAsync_Multidevice_Concurrent test
* SWDEV-549309 - Added fix for Unit_hipMemcpyPeerAsync_Positive_Default
* SWDEV-549309 - Added fix for Unit_hipStreamAttachMemAsync_Positive_AttachGlobal and Unit_hipGetProcAddress_GraphAPIs_AddMemsetMemcpyNodes
[ROCm/hip-tests commit: d21a95cea8]
This commit is contained in:
1 parent
17d12dff14
commit
5283a114b2
15 files changed
+38
-21
No files matched your search
@@ -87,6 +87,9 @@ TEST_CASE("Unit_hipStreamAttachMemAsync_Positive_AttachGlobal") {
|
||||
HIP_CHECK(hipStreamSynchronize(nullptr));
|
||||
|
||||
for (int i = 0; i < stream_count; ++i) {
|
||||
if (device_count > 1) {
|
||||
HIP_CHECK(hipSetDevice(i));
|
||||
}
|
||||
HipTest::launchKernel(Set, 1, 1, 0, streams.at(i)->stream(), managed_global.ptr() + i, i);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user