Function hip_sys::hiprt::hipMemset2DAsync
source · pub unsafe extern "C" fn hipMemset2DAsync(
dst: *mut c_void,
pitch: usize,
value: i32,
width: usize,
height: usize,
stream: *mut ihipStream_t
) -> hipError_tExpand description
@brief Fills asynchronously the memory area pointed to by dst with the constant value.
@param[in] dst Pointer to device memory @param[in] pitch - data size in bytes @param[in] value - constant value to be set @param[in] width @param[in] height @param[in] stream @return #hipSuccess, #hipErrorInvalidValue, #hipErrorMemoryFree