From 236352a64ddb1f1e29d3309adf1e8efc2402d026 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 --- hipamd/rocclr/hip_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/rocclr/hip_memory.cpp b/hipamd/rocclr/hip_memory.cpp index 87064b8ee1..915d1248a6 100755 --- a/hipamd/rocclr/hip_memory.cpp +++ b/hipamd/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,