Allow prefetch on the null stream
Change-Id: I87e950460361fab65ab140988fc2288bcb194f08
Esse commit está contido em:
@@ -71,7 +71,7 @@ hipError_t hipMemPrefetchAsync(const void* dev_ptr, size_t count, int device,
|
||||
hipStream_t stream) {
|
||||
HIP_INIT_API(hipMemPrefetchAsync, dev_ptr, count, device, stream);
|
||||
|
||||
if ((dev_ptr == nullptr) || (count == 0) || (stream == nullptr)) {
|
||||
if ((dev_ptr == nullptr) || (count == 0)) {
|
||||
HIP_RETURN(hipErrorInvalidValue);
|
||||
}
|
||||
amd::HostQueue* queue = nullptr;
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário