Browse Source

- remove bogus ntasks--

The feature was added in commit 9601 but causes the ntask counter to wrap with DMDAS, DMDAR, and less frequently with DMDA on codes using Multiformat
Olivier Aumage 10 years ago
parent
commit
1c0f70d44a
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/sched_policies/deque_modeling_policy_data_aware.c

+ 0 - 2
src/sched_policies/deque_modeling_policy_data_aware.c

@@ -997,8 +997,6 @@ static void dmda_post_exec_hook(struct starpu_task * task)
 	starpu_pthread_cond_t *sched_cond;
 	starpu_worker_get_sched_condition(workerid, &sched_mutex, &sched_cond);
 	STARPU_PTHREAD_MUTEX_LOCK(sched_mutex);
-	if(task->execute_on_a_specific_worker)
-		fifo->ntasks--;
 	fifo->exp_start = starpu_timing_now();
 	fifo->exp_end = fifo->exp_start + fifo->exp_len;
 	STARPU_PTHREAD_MUTEX_UNLOCK(sched_mutex);