Function cuGraphMemAllocNodeGetParams

Source
pub unsafe extern "C" fn cuGraphMemAllocNodeGetParams(
    hNode: CUgraphNode,
    params_out: *mut CUDA_MEM_ALLOC_NODE_PARAMS,
) -> CUresult
Expand description

\brief Returns a memory alloc node’s parameters

Returns the parameters of a memory alloc node \p hNode in \p params_out. The \p poolProps and \p accessDescs returned in \p params_out, are owned by the node. This memory remains valid until the node is destroyed. The returned parameters must not be modified.

\param hNode - Node to get the parameters for \param params_out - Pointer to return the parameters

\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_VALUE \note_graph_thread_safety \notefnerr

\sa ::cuGraphAddMemAllocNode, ::cuGraphMemFreeNodeGetParams