Function hip_sys::hiprt::hipMemset

source ·
pub unsafe extern "C" fn hipMemset(
    dst: *mut c_void,
    value: i32,
    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] constant value to be set @param[in] sizeBytes Data size in bytes @return #hipSuccess, #hipErrorInvalidValue, #hipErrorNotInitialized