From c8b083f1c6f3227a369ca490afe5f25a2c6e6529 Mon Sep 17 00:00:00 2001 From: Christophe Paquot Date: Wed, 19 Feb 2020 14:08:12 -0800 Subject: [PATCH] SWDEV-223262 hipMemcpyWithStream is supposed to be synchronous. Change-Id: Ie44e37ecc9246e26a6b315c01e88a279f9e42fd7 [ROCm/hip commit: a9a6cae9564b10fb9cc93b4683086690160ff517] --- projects/hip/vdi/hip_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/vdi/hip_memory.cpp b/projects/hip/vdi/hip_memory.cpp index 371469c29d..4b36a70b6e 100644 --- a/projects/hip/vdi/hip_memory.cpp +++ b/projects/hip/vdi/hip_memory.cpp @@ -254,7 +254,7 @@ hipError_t hipMemcpyWithStream(void* dst, const void* src, size_t sizeBytes, amd::HostQueue* queue = hip::getQueue(stream); - HIP_RETURN(ihipMemcpy(dst, src, sizeBytes, kind, *queue, true)); + HIP_RETURN(ihipMemcpy(dst, src, sizeBytes, kind, *queue, false)); } hipError_t hipMemPtrGetInfo(void *ptr, size_t *size) {