Browse Source

src: move definition of function _starpu_execute_registered_progression_hooks() from workers.h to progress_hook.h

Nathalie Furmento 12 years ago
parent
commit
f3bbbf58e8
2 changed files with 2 additions and 3 deletions
  1. 2 0
      src/core/progress_hook.h
  2. 0 3
      src/core/workers.h

+ 2 - 0
src/core/progress_hook.h

@@ -19,4 +19,6 @@
 
 void _starpu_init_progression_hooks(void);
 
+unsigned _starpu_execute_registered_progression_hooks(void);
+
 #endif /* !__PROGRESS_HOOK_H__ */

+ 0 - 3
src/core/workers.h

@@ -236,9 +236,6 @@ enum _starpu_worker_status _starpu_worker_get_status(int workerid);
  * doing (eg. executing a callback). */
 void _starpu_worker_set_status(int workerid, enum _starpu_worker_status status);
 
-/* TODO move */
-unsigned _starpu_execute_registered_progression_hooks(void);
-
 /* We keep an initial sched ctx which might be used in case no other ctx is available */
 struct _starpu_sched_ctx* _starpu_get_initial_sched_ctx(void);