Fix async flag in hipMemset3DAsync

Change-Id: I3dc717c14bdd1d46873e03c687bdf57f9202663e


[ROCm/clr commit: 236352a64d]
Этот коммит содержится в:
Rahul Garg
2020-11-02 23:22:19 +00:00
родитель 24d1c8c229
Коммит 5a56ff9cfa
+1 -1
Просмотреть файл
@@ -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,