starpu_task_bundle.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* StarPU --- Runtime system for heterogeneous multicore architectures.
  2. *
  3. * Copyright (C) 2010,2011,2014 Université de Bordeaux
  4. * Copyright (C) 2011,2012 Inria
  5. * Copyright (C) 2011-2013,2015,2017,2019 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. #ifndef __STARPU_TASK_BUNDLE_H__
  20. #define __STARPU_TASK_BUNDLE_H__
  21. /** @defgroup
  22. *
  23. * @{
  24. */
  25. #ifdef __cplusplus
  26. extern "C"
  27. {
  28. #endif
  29. struct starpu_task;
  30. typedef struct _starpu_task_bundle *starpu_task_bundle_t;
  31. void starpu_task_bundle_create(starpu_task_bundle_t *bundle);
  32. int starpu_task_bundle_insert(starpu_task_bundle_t bundle, struct starpu_task *task);
  33. int starpu_task_bundle_remove(starpu_task_bundle_t bundle, struct starpu_task *task);
  34. void starpu_task_bundle_close(starpu_task_bundle_t bundle);
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. /** @} */
  39. #endif /* __STARPU_TASK_BUNDLE_H__ */