SWDEV-346382 - Don't fall back to sync for hipMemcpyAsync from host to device.
Change-Id: I5aab9041f87c549a03c86e95a39bfa437126a99b
This commit is contained in:
zatwierdzone przez
Jaydeepkumar Patel
rodzic
d60787bdb2
commit
366050b14f
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user