Explorar o código

potential fix for tests issues

Andra Hugo %!s(int64=10) %!d(string=hai) anos
pai
achega
69d4d5d261
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/jobs.c

+ 1 - 1
src/core/jobs.c

@@ -433,8 +433,8 @@ void _starpu_handle_job_termination(struct _starpu_job *j)
 		}
 	}
 
-	_starpu_decrement_nsubmitted_tasks_of_sched_ctx(sched_ctx);
 	_starpu_decrement_nready_tasks_of_sched_ctx(sched_ctx, flops);
+	_starpu_decrement_nsubmitted_tasks_of_sched_ctx(sched_ctx);
 	struct _starpu_worker *worker;
 	worker = _starpu_get_local_worker_key();
 	if (worker)