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