cubecl_hip_sys

Function hipMemset

Source
pub unsafe extern "C" fn hipMemset(
    dst: *mut c_void,
    value: c_int,
    sizeBytes: usize,
) -> hipError_t
Expand description

@brief Fills the first sizeBytes bytes of the memory area pointed to by dest with the constant byte value value.

@param[out] dst Data being filled @param[in] value Value to be set @param[in] sizeBytes Data size in bytes @return #hipSuccess, #hipErrorInvalidValue, #hipErrorNotInitialized