cubecl_hip_sys

Function hipMemcpyParam2D

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

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

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