Fix async flag in hipMemset3DAsync

Change-Id: I3dc717c14bdd1d46873e03c687bdf57f9202663e
This commit is contained in:
Rahul Garg
2020-11-02 23:22:19 +00:00
parent cdc7f3f49e
commit 236352a64d
+1 -1
View File
@@ -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,