SWDEV-346382 - Don't fall back to sync for hipMemcpyAsync from host to device.

Change-Id: I5aab9041f87c549a03c86e95a39bfa437126a99b
This commit is contained in:
Jaydeep Patel
2022-08-03 12:06:11 +00:00
zatwierdzone przez Jaydeepkumar Patel
rodzic d60787bdb2
commit 366050b14f
-2
Wyświetl plik
@@ -439,8 +439,6 @@ hipError_t ihipMemcpy(void* dst, const void* src, size_t sizeBytes, hipMemcpyKin
} else {
return hipErrorInvalidValue;
}
} else if ((srcMemory == nullptr) && (dstMemory != nullptr)) {
isAsync = false;
} else if ((srcMemory != nullptr) && (dstMemory == nullptr)) {
isAsync = false;
}