Function tvm_sys::ffi::TVMBackendParallelBarrier[][src]

pub unsafe extern "C" fn TVMBackendParallelBarrier(
    task_id: c_int,
    penv: *mut TVMParallelGroupEnv
) -> c_int
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