Type Definition tvm_sys::ffi::FTVMParallelLambda [−][src]
pub type FTVMParallelLambda = Option<unsafe extern "C" fn(task_id: c_int, penv: *mut TVMParallelGroupEnv, cdata: *mut c_void) -> c_int>;
Expand description
\brief The callback function to execute a parallel lambda \param task_id the task id of the function. \param penv The parallel environment backs the execution. \param cdata The supporting closure data.