Commit ec28b5f6 authored by BRAMAS Berenger's avatar BRAMAS Berenger

arg remove a deadlock from heteroprio

parent 26da6403
......@@ -657,6 +657,7 @@ static struct starpu_task *pop_task_heteroprio_policy(unsigned sched_ctx_id)
heteroprio->workers_heteroprio[idx_worker].tasks_queue_size -= 1;
/* we steal a task update global counter */
heteroprio->nb_prefetched_tasks_per_arch_index[heteroprio->workers_heteroprio[idx_worker].arch_index] -= 1;
STARPU_PTHREAD_MUTEX_UNLOCK(&heteroprio->workers_heteroprio[idx_worker].ws_prefetch_mutex);
break;
}
STARPU_PTHREAD_MUTEX_UNLOCK(&heteroprio->workers_heteroprio[idx_worker].ws_prefetch_mutex);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment