cubecl_hip_sys

Function hipMemcpyAtoH

Source
pub unsafe extern "C" fn hipMemcpyAtoH(
    dst: *mut c_void,
    srcArray: hipArray_t,
    srcOffset: usize,
    count: usize,
) -> hipError_t
Expand description

@brief Copies data between host and device.

@param[in] dst Destination memory address @param[in] srcArray Source array @param[in] srcOffset Offset in bytes of source array @param[in] count Size of memory copy in bytes @return #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidPitchValue, #hipErrorInvalidDevicePointer, #hipErrorInvalidMemcpyDirection

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