SWDEV-519722 - Update test to work on MGpu machines without P2P access (#145)
Este cometimento está contido em:
cometido por
GitHub
ascendente
0b1eed5acd
cometimento
161ecddafe
@@ -446,6 +446,7 @@ void TestCore(const TestParams& p) {
|
||||
|
||||
// Copy results back to Host
|
||||
for (auto i = 0u; i < p.num_devices; ++i) {
|
||||
HIP_CHECK(hipSetDevice(i));
|
||||
const auto device_offset = i * p.kernel_count * p.ThreadCount();
|
||||
HIP_CHECK(hipMemcpy(old_vals.data() + device_offset, old_vals_devs[i].ptr(),
|
||||
old_vals_alloc_size, hipMemcpyDeviceToHost));
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador