hipMemset2D

Function hipMemset2D 

Source
pub unsafe extern "C" fn hipMemset2D(
    dst: *mut c_void,
    pitch: usize,
    value: c_int,
    width: usize,
    height: usize,
) -> hipError_t
Expand description

@brief Fills the memory area pointed to by dst with the constant value.

@param[out] 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 Constant 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 @returns #hipSuccess, #hipErrorInvalidValue