Skip to main content

cudaGraphKernelNodeCopyAttributes

Function cudaGraphKernelNodeCopyAttributes 

Source
pub unsafe extern "C" fn cudaGraphKernelNodeCopyAttributes(
    hDst: cudaGraphNode_t,
    hSrc: cudaGraphNode_t,
) -> cudaError_t
Expand description

Copies attributes from source node to destination node.

Copies attributes from source node hSrc to destination node hDst. Both node must have the same context.

Note that this function may also return error codes from previous, asynchronous launches.

§Parameters

  • hDst: Destination node.
  • hSrc: Source node For list of attributes see cudaKernelNodeAttrID.

§Return value

See also: cudaAccessPolicyWindow.