소스 검색

include/starpu_worker.h: add warning

Nathalie Furmento 12 년 전
부모
커밋
5fbe10d5f3
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      include/starpu_worker.h

+ 4 - 0
include/starpu_worker.h

@@ -99,6 +99,10 @@ int starpu_worker_get_devid(int id);
 }
 #endif
 
+#ifdef STARPU_DEVEL
+#warning do we really need both starpu_worker_set_sched_condition and starpu_worker_init_sched_condition functions
+#endif
+
 void starpu_worker_set_sched_condition(unsigned sched_ctx_id, int workerid, pthread_mutex_t *sched_mutex, pthread_cond_t *sched_cond);
 
 void starpu_worker_get_sched_condition(unsigned sched_ctx_id, int workerid, pthread_mutex_t **sched_mutex, pthread_cond_t **sched_cond);