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