pub unsafe extern "C" fn hipMemcpy2DToArray(
dst: hipArray_t,
wOffset: usize,
hOffset: usize,
src: *const c_void,
spitch: 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] wOffset Destination starting X offset @param[in] hOffset Destination starting Y offset @param[in] src Source memory address @param[in] spitch Pitch of source memory @param[in] width Width of matrix transfer (columns in bytes) @param[in] height Height of matrix transfer (rows) @param[in] kind Type of transfer @return #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidPitchValue, #hipErrorInvalidDevicePointer, #hipErrorInvalidMemcpyDirection
@see hipMemcpy, hipMemcpyToArray, hipMemcpy2D, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync