From fbef5e7d2a82c78159cdf4eb63b26e6bd00f841c 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/clr commit: 13bf30569ed581a9a06fd214dfbf288242ce7057] --- projects/clr/hipamd/vdi/hip_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/vdi/hip_memory.cpp b/projects/clr/hipamd/vdi/hip_memory.cpp index 371469c29d..4b36a70b6e 100644 --- a/projects/clr/hipamd/vdi/hip_memory.cpp +++ b/projects/clr/hipamd/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) {