cubecl_hip_sys

Function hipMemsetD32

Source
pub unsafe extern "C" fn hipMemsetD32(
    dest: hipDeviceptr_t,
    value: c_int,
    count: usize,
) -> hipError_t
Expand description

@brief Fills the memory area pointed to by dest with the constant integer value for specified number of times.

@param[out] dest Data being filled @param[in] value Constant value to be set @param[in] count Number of values to be set @return #hipSuccess, #hipErrorInvalidValue, #hipErrorNotInitialized