Function hip_runtime_sys::hipMemsetD16
source · pub unsafe extern "C" fn hipMemsetD16(
dest: hipDeviceptr_t,
value: c_ushort,
count: usize
) -> hipError_tExpand description
@brief Fills the first sizeBytes bytes of the memory area pointed to by dest with the constant short value value.
@param[out] dst Data ptr to be filled @param[in] constant value to be set @param[in] number of values to be set @return #hipSuccess, #hipErrorInvalidValue, #hipErrorNotInitialized