pub unsafe extern "C" fn hipMemcpyFromArray(
dst: *mut c_void,
srcArray: hipArray_const_t,
wOffset: usize,
hOffset: usize,
count: usize,
kind: hipMemcpyKind,
) -> hipError_t
Expand description
@brief Copies data between host and device.
@param[in] dst Destination memory address @param[in] srcArray Source memory address @param[in] wOffset Source starting X offset @param[in] hOffset Source starting Y offset @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.