cubecl_hip_sys

Function hipMemsetD16

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

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

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