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 authored and Jaydeepkumar Patel committed 2022-08-05 02:32:55 -04:00
1 parent d1b2b89d43
commit 1752b3049e
1 file changed
-2
-2
View File
@@ -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;
}