halide_do_parallel_tasks_t#
- int(*) halide_do_parallel_tasks_t (void *, int, struct halide_parallel_task_t *, void *task_parent)
Provide an entire custom tasking runtime via function pointers.
Note that do_task and semaphore_try_acquire are only ever called by halide_default_do_par_for and halide_default_do_parallel_tasks, so it’s only necessary to provide those if you are mixing in the default implementations of do_par_for and do_parallel_tasks.