Skip to main content

cudaGraphRecaptureCallback_t

Type Alias cudaGraphRecaptureCallback_t 

Source
pub type cudaGraphRecaptureCallback_t = Option<unsafe extern "C" fn(data: *mut c_void, node: cudaGraphNode_t, originalParams: *const cudaGraphNodeParams, recaptureParams: *const cudaGraphNodeParams, status: cudaGraphRecaptureStatus) -> cudaError_t>;
Expand description

Callback function invoked when node parameter mismatches are detected while recapturing to an existing graph. Parameter struct pointers are only valid within the callback.

User parameter provided at beginning of recapture

Graph node with the parameter mismatch

The original node parameters from the graph

The node parameters received during the recapture

status Status code for the recapture of the node

Aliased Type§

pub enum cudaGraphRecaptureCallback_t {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *mut CUgraphNode_st, *const CUgraphNodeParams_st, *const CUgraphNodeParams_st, CUstreamCaptureStatus_enum) -> cudaError_enum),
}

Variants§