Explorar el Código

Do not let the prio scheduler decrement task stats several times when popping a task with multiple available implementations

Samuel Thibault hace 11 años
padre
commit
4eb6989308
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/sched_policies/eager_central_priority_policy.c

+ 1 - 0
src/sched_policies/eager_central_priority_policy.c

@@ -230,6 +230,7 @@ static struct starpu_task *_starpu_priority_pop_task(unsigned sched_ctx_id)
 						taskq->ntasks[priolevel]--;
 						taskq->total_ntasks--;
 						_STARPU_TRACE_JOB_POP(task, 0);
+						break;
 					} else skipped = 1;
 				}
 			}