cubecl_hip_sys

Function hipMemcpyToArray

Source
pub unsafe extern "C" fn hipMemcpyToArray(
    dst: hipArray_t,
    wOffset: usize,
    hOffset: usize,
    src: *const c_void,
    count: usize,
    kind: hipMemcpyKind,
) -> hipError_t
Expand description

@brief Copies data between host and device.

@param[in] dst Destination memory address @param[in] wOffset Destination starting X offset @param[in] hOffset Destination starting Y offset @param[in] src Source memory address @param[in] count size in bytes to copy @param[in] kind Type of transfer @return #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidPitchValue, #hipErrorInvalidDevicePointer, #hipErrorInvalidMemcpyDirection

@see hipMemcpy, hipMemcpy2DToArray, hipMemcpy2D, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync @warning This API is deprecated.