StarPU Handbook
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
starpu_task_bundle.h
Go to the documentation of this file.
1 /* StarPU --- Runtime system for heterogeneous multicore architectures.
2  *
3  * Copyright (C) 2010, 2011, 2014 Université de Bordeaux
4  * Copyright (C) 2011 Télécom-SudParis
5  * Copyright (C) 2012 Inria
6  *
7  * StarPU is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License as published by
9  * the Free Software Foundation; either version 2.1 of the License, or (at
10  * your option) any later version.
11  *
12  * StarPU is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  *
16  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
17  */
18 
19 #ifndef __STARPU_TASK_BUNDLE_H__
20 #define __STARPU_TASK_BUNDLE_H__
21 
22 #ifdef __cplusplus
23 extern "C"
24 {
25 #endif
26 
27 struct starpu_task;
28 
29 typedef struct _starpu_task_bundle *starpu_task_bundle_t;
30 
31 void starpu_task_bundle_create(starpu_task_bundle_t *bundle);
32 
33 int starpu_task_bundle_insert(starpu_task_bundle_t bundle, struct starpu_task *task);
34 
35 int starpu_task_bundle_remove(starpu_task_bundle_t bundle, struct starpu_task *task);
36 
37 void starpu_task_bundle_close(starpu_task_bundle_t bundle);
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif /* __STARPU_TASK_BUNDLE_H__ */
void starpu_task_bundle_close(starpu_task_bundle_t bundle)
int starpu_task_bundle_remove(starpu_task_bundle_t bundle, struct starpu_task *task)
void starpu_task_bundle_create(starpu_task_bundle_t *bundle)
struct _starpu_task_bundle * starpu_task_bundle_t
Definition: starpu_task_bundle.h:29
Definition: starpu_task.h:123
int starpu_task_bundle_insert(starpu_task_bundle_t bundle, struct starpu_task *task)