starpu_task_bundle.h 1.3 KB

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