cubecl_hip_sys

Function hipGraphInstantiate

Source
pub unsafe extern "C" fn hipGraphInstantiate(
    pGraphExec: *mut hipGraphExec_t,
    graph: hipGraph_t,
    pErrorNode: *mut hipGraphNode_t,
    pLogBuffer: *mut c_char,
    bufferSize: usize,
) -> hipError_t
Expand description

@brief Creates an executable graph from a graph

@param [out] pGraphExec - pointer to instantiated executable graph that is created. @param [in] graph - instance of graph to instantiate. @param [out] pErrorNode - pointer to error node in case error occured in graph instantiation, it could modify the correponding node. @param [out] pLogBuffer - pointer to log buffer. @param [out] bufferSize - the size of log buffer.

@returns #hipSuccess, #hipErrorOutOfMemory

@warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.