|
Halide 21.0.0
Halide compiler and libraries
|
#include <thread_pool_common.h>
Public Member Functions | |
| ALWAYS_INLINE bool | make_runnable () |
| ALWAYS_INLINE bool | running () const |
Public Attributes | |
| halide_parallel_task_t | task |
| halide_task_t | task_fn |
| work * | next_job |
| work * | siblings |
| int | sibling_count |
| work * | parent_job |
| int | threads_reserved |
| void * | user_context |
| int | active_workers |
| int | exit_status |
| int | next_semaphore |
| bool | owner_is_sleeping |
Definition at line 84 of file thread_pool_common.h.
|
inline |
Definition at line 104 of file thread_pool_common.h.
References ALWAYS_INLINE, halide_default_semaphore_try_acquire(), next_semaphore, and task.
Referenced by Halide::Runtime::Internal::worker_thread_already_locked().
|
inline |
Definition at line 120 of file thread_pool_common.h.
References active_workers, ALWAYS_INLINE, and task.
Referenced by Halide::Runtime::Internal::worker_thread_already_locked().
| halide_parallel_task_t Halide::Runtime::Internal::work::task |
Definition at line 85 of file thread_pool_common.h.
Referenced by Halide::Runtime::Internal::enqueue_work_already_locked(), halide_default_do_par_for(), halide_default_do_parallel_tasks(), make_runnable(), running(), and Halide::Runtime::Internal::worker_thread_already_locked().
| halide_task_t Halide::Runtime::Internal::work::task_fn |
Definition at line 89 of file thread_pool_common.h.
Referenced by halide_default_do_par_for(), halide_default_do_parallel_tasks(), and Halide::Runtime::Internal::worker_thread_already_locked().
| work* Halide::Runtime::Internal::work::next_job |
Definition at line 91 of file thread_pool_common.h.
Referenced by Halide::Runtime::Internal::enqueue_work_already_locked(), and Halide::Runtime::Internal::worker_thread_already_locked().
| work* Halide::Runtime::Internal::work::siblings |
Definition at line 92 of file thread_pool_common.h.
Referenced by Halide::Runtime::Internal::enqueue_work_already_locked(), halide_default_do_par_for(), and Halide::Runtime::Internal::worker_thread_already_locked().
| int Halide::Runtime::Internal::work::sibling_count |
Definition at line 93 of file thread_pool_common.h.
Referenced by Halide::Runtime::Internal::enqueue_work_already_locked(), halide_default_do_par_for(), and Halide::Runtime::Internal::worker_thread_already_locked().
| work* Halide::Runtime::Internal::work::parent_job |
Definition at line 94 of file thread_pool_common.h.
Referenced by halide_default_do_par_for(), halide_default_do_parallel_tasks(), and Halide::Runtime::Internal::worker_thread_already_locked().
| int Halide::Runtime::Internal::work::threads_reserved |
Definition at line 95 of file thread_pool_common.h.
Referenced by Halide::Runtime::Internal::enqueue_work_already_locked(), and Halide::Runtime::Internal::worker_thread_already_locked().
| void* Halide::Runtime::Internal::work::user_context |
Definition at line 97 of file thread_pool_common.h.
Referenced by halide_default_do_par_for(), halide_default_do_parallel_tasks(), and Halide::Runtime::Internal::worker_thread_already_locked().
| int Halide::Runtime::Internal::work::active_workers |
Definition at line 98 of file thread_pool_common.h.
Referenced by Halide::Runtime::Internal::enqueue_work_already_locked(), halide_default_do_par_for(), halide_default_do_parallel_tasks(), running(), and Halide::Runtime::Internal::worker_thread_already_locked().
| int Halide::Runtime::Internal::work::exit_status |
Definition at line 99 of file thread_pool_common.h.
Referenced by halide_default_do_par_for(), halide_default_do_parallel_tasks(), and Halide::Runtime::Internal::worker_thread_already_locked().
| int Halide::Runtime::Internal::work::next_semaphore |
Definition at line 100 of file thread_pool_common.h.
Referenced by halide_default_do_par_for(), halide_default_do_parallel_tasks(), and make_runnable().
| bool Halide::Runtime::Internal::work::owner_is_sleeping |
Definition at line 102 of file thread_pool_common.h.
Referenced by halide_default_do_par_for(), halide_default_do_parallel_tasks(), Halide::Runtime::Internal::worker_thread_already_locked(), and Halide::Runtime::Internal::worker_thread_stall().