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

Change-Id: I5aab9041f87c549a03c86e95a39bfa437126a99b


[ROCm/clr commit: 366050b14f]
This commit is contained in:
Jaydeep Patel
2022-08-03 12:06:11 +00:00
کامیت شده توسط Jaydeepkumar Patel
والد d1b2b89d43
کامیت 1752b3049e
@@ -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;
}