cubecl_hip_sys

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 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