소스 검색

The progression hook is a mechanism which should be use in very specific cases.

Cédric Augonnet 15 년 전
부모
커밋
c7d8e962c0
2개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      include/starpu-data.h
  2. 6 0
      include/starpu-expert.h

+ 0 - 3
include/starpu-data.h

@@ -70,9 +70,6 @@ void starpu_data_set_wb_mask(starpu_data_handle state, uint32_t wb_mask);
 
 unsigned starpu_test_if_data_is_allocated_on_node(starpu_data_handle handle, uint32_t memory_node);
 
-int starpu_register_progression_hook(unsigned (*func)(void *arg), void *arg);
-void starpu_deregister_progression_hook(int hook_id);
-
 #ifdef __cplusplus
 }
 #endif

+ 6 - 0
include/starpu-expert.h

@@ -17,12 +17,18 @@
 #ifndef __STARPU_EXPERT_H__
 #define __STARPU_EXPERT_H__
 
+#include <starpu.h>
+#include <starpu_config.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 void starpu_wake_all_blocked_workers(void);
 
+int starpu_register_progression_hook(unsigned (*func)(void *arg), void *arg);
+void starpu_deregister_progression_hook(int hook_id);
+
 #ifdef __cplusplus
 }
 #endif