Function tvm::function::ffi::TVMBackendParallelBarrier [−][src]
pub unsafe extern "C" fn TVMBackendParallelBarrier(
task_id: i32,
penv: *mut TVMParallelGroupEnv
) -> i32
Expand description
\brief BSP barrrier between parallel threads \param task_id the task id of the function. \param penv The parallel environment backs the execution. \return 0 when no error is thrown, -1 when failure happens