cubecl_hip_sys

Function hipMemcpyParam2DAsync

Source
pub unsafe extern "C" fn hipMemcpyParam2DAsync(
    pCopy: *const hip_Memcpy2D,
    stream: hipStream_t,
) -> hipError_t
Expand description

@brief Copies memory for 2D arrays. @param[in] pCopy Parameters for the memory copy @param[in] stream Stream to use @return #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidPitchValue, #hipErrorInvalidDevicePointer, #hipErrorInvalidMemcpyDirection

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