- client: enforce_schedule() wasn't starting GPU jobs

svn path=/trunk/boinc/; revision=18002
This commit is contained in:
David Anderson 2009-05-05 08:56:56 +00:00
parent 8576ebc1eb
commit e8a0cb3742
2 changed files with 7 additions and 1 deletions

View File

@ -4297,3 +4297,9 @@ David 4 May 2009
client_types.h
client_state.h
cpu_sched.cpp
David 5 May 2009
- client: enforce_schedule() wasn't starting GPU jobs
client/
cpu_sched.cpp

View File

@ -861,13 +861,13 @@ bool CLIENT_STATE::enforce_schedule() {
//
ncpus_used = 0;
for (i=0; i<runnable_jobs.size(); i++) {
if (ncpus_used >= ncpus) break;
RESULT* rp = runnable_jobs[i];
if (log_flags.cpu_sched_debug) {
msg_printf(rp->project, MSG_INFO,
"[cpu_sched_debug] processing %s", rp->name
);
}
if (!rp->uses_coprocs() && (ncpus_used >= ncpus)) continue;
atp = lookup_active_task_by_result(rp);
if (atp) {