pub type CUDA_HOST_NODE_PARAMS = CUDA_HOST_NODE_PARAMS_v1;
Expand description
Host node parameters
Aliased Type§
#[repr(C)]pub struct CUDA_HOST_NODE_PARAMS {
pub fn_: Option<unsafe extern "C" fn(*mut c_void)>,
pub userData: *mut c_void,
}
Fields§
§fn_: Option<unsafe extern "C" fn(*mut c_void)>
< The function to call when the node executes
userData: *mut c_void
< Argument to pass to the function