23 #include <common/config.h>
28 #define STARPU_DYNAMIC_DEPS_SIZE 1
31 #ifndef STARPU_DYNAMIC_DEPS_SIZE
32 #define STARPU_NMAXDEPS 256
47 unsigned ndeps_completed;
62 #ifdef STARPU_DYNAMIC_DEPS_SIZE
63 unsigned succ_list_size;
72 STARPU_CG_APPS=(1<<0),
89 enum _starpu_cg_type cg_type;
106 starpu_pthread_mutex_t cg_mutex;
107 starpu_pthread_cond_t cg_cond;
112 typedef struct _starpu_notify_job_start_data _starpu_notify_job_start_data;
114 void _starpu_notify_dependencies(
struct _starpu_job *j);
115 void _starpu_job_notify_start(
struct _starpu_job *j,
struct starpu_perfmodel_arch* perf_arch);
116 void _starpu_job_notify_ready_soon(
struct _starpu_job *j, _starpu_notify_job_start_data *data);
121 int _starpu_list_task_successors_in_cg_list(
struct _starpu_cg_list *successors,
unsigned ndeps,
struct starpu_task *task_array[]);
122 int _starpu_list_task_scheduled_successors_in_cg_list(
struct _starpu_cg_list *successors,
unsigned ndeps,
struct starpu_task *task_array[]);
123 int _starpu_list_tag_successors_in_cg_list(
struct _starpu_cg_list *successors,
unsigned ndeps, starpu_tag_t tag_array[]);
124 void _starpu_notify_cg(
void *pred,
struct _starpu_cg *cg);
125 void _starpu_notify_cg_list(
void *pred,
struct _starpu_cg_list *successors);
126 void _starpu_notify_job_start_cg_list(
void *pred,
struct _starpu_cg_list *successors, _starpu_notify_job_start_data *data);
127 void _starpu_notify_task_dependencies(
struct _starpu_job *j);
128 void _starpu_notify_job_start_tasks(
struct _starpu_job *j, _starpu_notify_job_start_data *data);