starpu_task_bundle.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. #ifndef __STARPU_TASK_BUNDLE_H__
  20. #define __STARPU_TASK_BUNDLE_H__
  21. #ifdef __cplusplus
  22. extern "C"
  23. {
  24. #endif
  25. struct starpu_task;
  26. typedef struct _starpu_task_bundle *starpu_task_bundle_t;
  27. void starpu_task_bundle_create(starpu_task_bundle_t *bundle);
  28. int starpu_task_bundle_insert(starpu_task_bundle_t bundle, struct starpu_task *task);
  29. int starpu_task_bundle_remove(starpu_task_bundle_t bundle, struct starpu_task *task);
  30. void starpu_task_bundle_close(starpu_task_bundle_t bundle);
  31. #ifdef __cplusplus
  32. }
  33. #endif
  34. #endif /* __STARPU_TASK_BUNDLE_H__ */