소스 검색

include/: move public function declaration in starpu.h

Nathalie Furmento 12 년 전
부모
커밋
e3182f62a8
2개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  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__