Fix async flag in hipMemset3DAsync
Change-Id: I3dc717c14bdd1d46873e03c687bdf57f9202663e
[ROCm/clr commit: 236352a64d]
Этот коммит содержится в:
@@ -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,
|
||||
|
||||
Ссылка в новой задаче
Block a user