Ver código fonte

include/: move public function declaration in starpu.h

Nathalie Furmento 12 anos atrás
pai
commit
e3182f62a8
2 arquivos alterados com 3 adições e 7 exclusões
  1. 3 1
      include/starpu.h
  2. 0 6
      src/core/workers.h

+ 3 - 1
include/starpu.h

@@ -173,7 +173,9 @@ unsigned starpu_cuda_worker_get_count(void);
 unsigned starpu_spu_worker_get_count(void);
 unsigned starpu_opencl_worker_get_count(void);
 
-int starpu_asynchronous_copy_disabled();
+int starpu_asynchronous_copy_disabled(void);
+int starpu_asynchronous_cuda_copy_disabled(void);
+int starpu_asynchronous_opencl_copy_disabled(void);
 
 /* Return the identifier of the thread in case this is associated to a worker.
  * This will return -1 if this function is called directly from the application

+ 0 - 6
src/core/workers.h

@@ -221,10 +221,4 @@ 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(void);
-
-int starpu_asynchronous_cuda_copy_disabled(void);
-
-int starpu_asynchronous_opencl_copy_disabled(void);
-
 #endif // __WORKERS_H__