Function hip_sys::hiprt::hipMemset2D

source ·
pub unsafe extern "C" fn hipMemset2D(
    dst: *mut c_void,
    pitch: usize,
    value: i32,
    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 device memory @param[in] pitch - data size in bytes @param[in] value - constant value to be set @param[in] width @param[in] height @return #hipSuccess, #hipErrorInvalidValue, #hipErrorMemoryFree