hipMemset2DAsync

Function hipMemset2DAsync 

Source
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 of 2D device memory, unused if height equals 1 @param[in] value Value to set for each byte of specified memory @param[in] width Width size in bytes in 2D memory @param[in] height Height size in bytes in 2D memory @param[in] stream Stream identifier @returns #hipSuccess, #hipErrorInvalidValue