StarPU Handbook
|
Data Structures | |
struct | starpu_task_list |
Functions | |
static STARPU_INLINE void | starpu_task_list_init (struct starpu_task_list *list) |
static STARPU_INLINE void | starpu_task_list_push_front (struct starpu_task_list *list, struct starpu_task *task) |
static STARPU_INLINE void | starpu_task_list_push_back (struct starpu_task_list *list, struct starpu_task *task) |
static STARPU_INLINE struct starpu_task * | starpu_task_list_front (struct starpu_task_list *list) |
static STARPU_INLINE struct starpu_task * | starpu_task_list_back (struct starpu_task_list *list) |
static STARPU_INLINE int | starpu_task_list_empty (struct starpu_task_list *list) |
static STARPU_INLINE void | starpu_task_list_erase (struct starpu_task_list *list, struct starpu_task *task) |
static STARPU_INLINE struct starpu_task * | starpu_task_list_pop_front (struct starpu_task_list *list) |
static STARPU_INLINE struct starpu_task * | starpu_task_list_pop_back (struct starpu_task_list *list) |
static STARPU_INLINE struct starpu_task * | starpu_task_list_begin (struct starpu_task_list *list) |
static STARPU_INLINE struct starpu_task * | starpu_task_list_next (struct starpu_task *task) |
struct starpu_task_list |
Stores a double-chained list of tasks
Data Fields | ||
---|---|---|
struct starpu_task * | head |
head of the list |
struct starpu_task * | tail |
tail of the list |
|
static |
Initialize a list structure
|
static |
Push task
at the front of list
|
static |
Push task
at the back of list
|
static |
Get the front of list
(without removing it)
|
static |
Get the back of list
(without removing it)
|
static |
Test if list
is empty
|
static |
Remove task
from list
|
static |
Remove the element at the front of list
|
static |
Remove the element at the back of list
|
static |
Get the first task of list
.
|
static |
Get the next task of list
. This is not erase-safe.