Go to the documentation of this file.
20 #include <common/list.h>
31 starpu_pthread_mutex_t mutex;
38 struct _starpu_graph_node_multilist_top top;
40 struct _starpu_graph_node_multilist_bottom bottom;
42 struct _starpu_graph_node_multilist_all all;
44 struct _starpu_graph_node_multilist_dropped dropped;
48 unsigned *incoming_slot;
50 unsigned alloc_incoming;
53 unsigned *outgoing_slot;
55 unsigned alloc_outgoing;
70 extern int _starpu_graph_record;
71 void _starpu_graph_init(
void);
72 void _starpu_graph_wrlock(
void);
73 void _starpu_graph_rdlock(
void);
74 void _starpu_graph_wrunlock(
void);
75 void _starpu_graph_rdunlock(
void);
void _starpu_graph_drop_job(struct _starpu_job *job)
struct _starpu_graph_node ** incoming
Definition: graph.h:47
struct _starpu_graph_node_multilist_bottom bottom
Definition: graph.h:40
void _starpu_graph_foreach(void(*func)(void *data, struct _starpu_graph_node *node), void *data)
struct _starpu_graph_node_multilist_all all
Definition: graph.h:42
void _starpu_graph_drop_dropped_nodes(void)
void _starpu_graph_add_job_dep(struct _starpu_job *job, struct _starpu_job *prev_job)
struct _starpu_graph_node ** outgoing
Definition: graph.h:52
void _starpu_graph_compute_depths(void)
void _starpu_graph_compute_descendants(void)
void _starpu_graph_add_job(struct _starpu_job *job)
struct _starpu_graph_node_multilist_dropped dropped
Definition: graph.h:44
struct _starpu_graph_node_multilist_top top
Definition: graph.h:38