pub unsafe extern "C" fn hipMemcpy2DFromArray(
dst: *mut c_void,
dpitch: usize,
src: hipArray_const_t,
wOffset: usize,
hOffset: 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] dpitch Pitch of destination memory @param[in] src Source memory address @param[in] wOffset Source starting X offset @param[in] hOffset Source starting Y offset @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, hipMemcpy2DToArray, hipMemcpy2D, hipMemcpyFromArray, hipMemcpyToSymbol, hipMemcpyAsync