Browse Source

src: add missing function prototypes

Nathalie Furmento 12 years ago
parent
commit
4083c94525
2 changed files with 7 additions and 0 deletions
  1. 6 0
      src/core/workers.h
  2. 1 0
      src/datawizard/interfaces/data_interface.c

+ 6 - 0
src/core/workers.h

@@ -221,4 +221,10 @@ void _starpu_worker_set_status(int workerid, enum _starpu_worker_status status);
 /* TODO move */
 unsigned _starpu_execute_registered_progression_hooks(void);
 
+int starpu_asynchronous_copy_disabled();
+
+int starpu_asynchronous_cuda_copy_disabled();
+
+int starpu_asynchronous_opencl_copy_disabled();
+
 #endif // __WORKERS_H__

+ 1 - 0
src/datawizard/interfaces/data_interface.c

@@ -22,6 +22,7 @@
 #include <common/uthash.h>
 #include <common/starpu_spinlock.h>
 #include <core/task.h>
+#include <core/workers.h>
 
 /* Entry in the `registered_handles' hash table.  */
 struct handle_entry