From 49b83492bd1d9cac9db83150c58537a26cb9c244 Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Mon, 2 Nov 2020 23:22:19 +0000 Subject: [PATCH] Fix async flag in hipMemset3DAsync Change-Id: I3dc717c14bdd1d46873e03c687bdf57f9202663e [ROCm/hip commit: 0096a215b48ba1ea2c5a1e090ac59f212804a250] --- projects/hip/rocclr/hip_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/rocclr/hip_memory.cpp b/projects/hip/rocclr/hip_memory.cpp index 87064b8ee1..915d1248a6 100755 --- a/projects/hip/rocclr/hip_memory.cpp +++ b/projects/hip/rocclr/hip_memory.cpp @@ -1930,7 +1930,7 @@ hipError_t hipMemset3D(hipPitchedPtr pitchedDevPtr, int value, hipExtent extent) hipError_t hipMemset3DAsync(hipPitchedPtr pitchedDevPtr, int value, hipExtent extent, hipStream_t stream) { HIP_INIT_API(hipMemset3DAsync, pitchedDevPtr, value, extent, stream); - HIP_RETURN(ihipMemset3D(pitchedDevPtr, value, extent, stream, false)); + HIP_RETURN(ihipMemset3D(pitchedDevPtr, value, extent, stream, true)); } hipError_t hipMemAllocPitch(hipDeviceptr_t* dptr, size_t* pitch, size_t widthInBytes,