cubecl_hip_sys

Function hipMemcpyFromSymbolAsync

Source
pub unsafe extern "C" fn hipMemcpyFromSymbolAsync(
    dst: *mut c_void,
    symbol: *const c_void,
    sizeBytes: usize,
    offset: usize,
    kind: hipMemcpyKind,
    stream: hipStream_t,
) -> hipError_t
Expand description

@brief Copies data from the given symbol on the device asynchronously.

@param[out] dst Returns pointer to destinition memory address @param[in] symbol pointer to the symbole address on the device @param[in] sizeBytes size in bytes to copy @param[in] offset offset in bytes from the start of symbole @param[in] kind type of memory transfer @param[in] stream stream identifier

@return #hipSuccess, #hipErrorInvalidValue