Explorar o código

include/starpu_worker.h: add warning

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
5fbe10d5f3
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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);