pub type CUgraphRecaptureCallback = Option<unsafe extern "C" fn(data: *mut c_void, node: CUgraphNode, originalParams: *const CUgraphNodeParams, recaptureParams: *const CUgraphNodeParams, status: CUgraphRecaptureStatus) -> CUresult>;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.
Aliased Type§
pub enum CUgraphRecaptureCallback {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut CUgraphNode_st, *const CUgraphNodeParams_st, *const CUgraphNodeParams_st, CUgraphRecaptureStatus_enum) -> cudaError_enum),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut c_void, *mut CUgraphNode_st, *const CUgraphNodeParams_st, *const CUgraphNodeParams_st, CUgraphRecaptureStatus_enum) -> cudaError_enum)
Some value of type T.