cubecl_hip_sys

Function hipMemcpyToSymbolAsync

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

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

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

@return #hipSuccess, #hipErrorInvalidValue