cubecl_hip_sys

Function hipGraphMemcpyNodeSetParams1D

Source
pub unsafe extern "C" fn hipGraphMemcpyNodeSetParams1D(
    node: hipGraphNode_t,
    dst: *mut c_void,
    src: *const c_void,
    count: usize,
    kind: hipMemcpyKind,
) -> hipError_t
Expand description

@brief Sets a memcpy node’s parameters to perform a 1-dimensional copy.

@param [in] node - instance of the node to set parameters to. @param [in] dst - pointer to memory address to the destination. @param [in] src - pointer to memory address to the source. @param [in] count - the size of the memory to copy. @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.