Explorar o código

TODO empty_ctx_tasks

Samuel Thibault %!s(int64=12) %!d(string=hai) anos
pai
achega
f65ece97e1
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/sched_policies/deque_modeling_policy_data_aware.c

+ 3 - 0
src/sched_policies/deque_modeling_policy_data_aware.c

@@ -686,6 +686,9 @@ static int _dmda_push_task(struct starpu_task *task, unsigned prio, unsigned sch
 
 static int dmda_push_sorted_task(struct starpu_task *task)
 {
+#ifdef STARPU_DEVEL
+#warning TODO: after defining a scheduling window, use that instead of empty_ctx_tasks
+#endif
 	unsigned sched_ctx_id = task->sched_ctx;
         _starpu_pthread_mutex_t *changing_ctx_mutex = starpu_get_changing_ctx_mutex(sched_ctx_id);
         unsigned nworkers;