diff --git a/checkin_notes b/checkin_notes index 784f830067..3f5f459764 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/cpu_sched.cpp b/client/cpu_sched.cpp index 634e717ff3..f6dfe4b8b9 100644 --- a/client/cpu_sched.cpp +++ b/client/cpu_sched.cpp @@ -861,13 +861,13 @@ bool CLIENT_STATE::enforce_schedule() { // ncpus_used = 0; for (i=0; i= 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) {