Type Definition tvm_rt::function::ffi::FTVMParallelLambda[][src]

pub type FTVMParallelLambda = Option<unsafe extern "C" fn(i32, *mut TVMParallelGroupEnv, *mut c_void) -> i32>;
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.