23 #include <common/config.h>
25 #pragma GCC visibility push(hidden)
32 #define STARPU_DYNAMIC_DEPS_SIZE 1
35 #ifndef STARPU_DYNAMIC_DEPS_SIZE
36 #define STARPU_NMAXDEPS 256
51 unsigned ndeps_completed;
66 #ifdef STARPU_DYNAMIC_DEPS_SIZE
77 STARPU_CG_APPS=(1<<0),
98 enum _starpu_cg_type cg_type;
115 starpu_pthread_mutex_t cg_mutex;
116 starpu_pthread_cond_t cg_cond;
121 typedef struct _starpu_notify_job_start_data _starpu_notify_job_start_data;
123 void _starpu_notify_dependencies(
struct _starpu_job *j);
124 void _starpu_job_notify_start(
struct _starpu_job *j,
struct starpu_perfmodel_arch* perf_arch);
125 void _starpu_job_notify_ready_soon(
struct _starpu_job *j, _starpu_notify_job_start_data *data);
130 int _starpu_list_task_successors_in_cg_list(
struct _starpu_cg_list *successors,
unsigned ndeps,
struct starpu_task *task_array[]);
131 int _starpu_list_task_scheduled_successors_in_cg_list(
struct _starpu_cg_list *successors,
unsigned ndeps,
struct starpu_task *task_array[]);
132 int _starpu_list_tag_successors_in_cg_list(
struct _starpu_cg_list *successors,
unsigned ndeps, starpu_tag_t tag_array[]);
133 void _starpu_notify_cg(
void *pred,
struct _starpu_cg *cg);
134 void _starpu_notify_cg_list(
void *pred,
struct _starpu_cg_list *successors);
135 void _starpu_notify_job_start_cg_list(
void *pred,
struct _starpu_cg_list *successors, _starpu_notify_job_start_data *data);
136 void _starpu_notify_task_dependencies(
struct _starpu_job *j);
137 void _starpu_notify_job_start_tasks(
struct _starpu_job *j, _starpu_notify_job_start_data *data);
139 #pragma GCC visibility pop
unsigned ntags
Definition: cg.h:86
unsigned nsuccs
Definition: cg.h:65
struct _starpu_spinlock lock
Definition: cg.h:47
unsigned remaining
Definition: cg.h:88
unsigned succ_list_size
Definition: cg.h:68
unsigned terminated
Definition: cg.h:62
unsigned ndeps
Definition: cg.h:50
Definition: starpu_spinlock.h:82