pub unsafe extern "C" fn hipMemset2DAsync(
dst: *mut c_void,
pitch: usize,
value: c_int,
width: usize,
height: usize,
stream: hipStream_t,
) -> hipError_t
Expand description
@brief Fills asynchronously the memory area pointed to by dst with the constant value.
@param[in] dst Pointer to 2D device memory @param[in] pitch Pitch size in bytes @param[in] value Value to be set for each byte of specified memory @param[in] width Width of matrix set columns in bytes @param[in] height Height of matrix set rows in bytes @param[in] stream Stream identifier @return #hipSuccess, #hipErrorInvalidValue