cubecl_hip_sys

Function hipMemcpy2DArrayToArray

Source
pub unsafe extern "C" fn hipMemcpy2DArrayToArray(
    dst: hipArray_t,
    wOffsetDst: usize,
    hOffsetDst: usize,
    src: hipArray_const_t,
    wOffsetSrc: usize,
    hOffsetSrc: usize,
    width: usize,
    height: usize,
    kind: hipMemcpyKind,
) -> hipError_t
Expand description

@brief Copies data between host and device.

@param[in] dst Destination memory address @param[in] wOffsetDst Destination starting X offset @param[in] hOffsetDst Destination starting Y offset @param[in] src Source memory address @param[in] wOffsetSrc Source starting X offset @param[in] hOffsetSrc Source starting Y offset (columns in bytes) @param[in] width Width of matrix transfer (columns in bytes) @param[in] height Height of matrix transfer (rows) @param[in] kind Type of transfer

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidMemcpyDirection

@see hipMemcpy, hipMemcpyToArray, hipMemcpy2D, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync