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
이 커밋은 다음에 포함됨:
@@ -510,6 +510,7 @@ void HipMemcpyWithStreamMultiThreadtests::TestkindDefaultForDtoD(bool& val_res)
|
||||
}
|
||||
|
||||
for (int i = 0; i < numDevices; ++i) {
|
||||
HIP_CHECK_THREAD(hipSetDevice(i));
|
||||
hipLaunchKernelGGL(HipTest::vectorADD, dim3(blocks), dim3(threadsPerBlock), 0, stream[i],
|
||||
static_cast<const int*>(A_d[i]), static_cast<const int*>(B_d[i]), C_d[i], N);
|
||||
HIP_CHECK_THREAD(hipGetLastError());
|
||||
|
||||
새 이슈에서 참조
사용자 차단