瀏覽代碼

src: add missing function prototypes

Nathalie Furmento 12 年之前
父節點
當前提交
4083c94525
共有 2 個文件被更改,包括 7 次插入0 次删除
  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 */
 /* TODO move */
 unsigned _starpu_execute_registered_progression_hooks(void);
 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__
 #endif // __WORKERS_H__

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

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