cubecl_hip_sys

Function hipGraphExecMemcpyNodeSetParamsFromSymbol

Source
pub unsafe extern "C" fn hipGraphExecMemcpyNodeSetParamsFromSymbol(
    hGraphExec: hipGraphExec_t,
    node: hipGraphNode_t,
    dst: *mut c_void,
    symbol: *const c_void,
    count: usize,
    offset: usize,
    kind: hipMemcpyKind,
) -> hipError_t
Expand description

@brief Sets the parameters for a memcpy node in the given graphExec to copy from a symbol on the

  • device.

@param [in] hGraphExec - instance of the executable graph with the node. @param [in] node - instance of the node to set parameters to. @param [in] dst - pointer to memory address to the destination. @param [in] symbol - Device symbol address. @param [in] count - the size of the memory to copy. @param [in] offset - Offset from start of symbol in bytes. @param [in] kind - the type of memory copy. @returns #hipSuccess, #hipErrorInvalidValue @warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.