SWDEV-465461 - Use command's queue instead as it might be changed while constructing memcpy command on MGPU.

Change-Id: Ia6ac40289e1eea320925203cbd52b30f3b64ad2b
Этот коммит содержится в:
Jaydeep Patel
2024-06-05 06:47:49 +00:00
родитель 0c6a952a90
Коммит 774a10201f
+1 -1
Просмотреть файл
@@ -548,7 +548,7 @@ hipError_t ihipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKin
}
command->enqueue();
if (!isHostAsync) {
stream.finish();
command->queue()->finish();
} else if (!isGPUAsync) {
hip::Stream* pStream = hip::getNullStream(dstMemory->GetDeviceById()->context());
amd::Command::EventWaitList waitList;