From e8a0cb3742d610b1f1f1c9c1e11665e533c9a620 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 5 May 2009 08:56:56 +0000 Subject: [PATCH] - client: enforce_schedule() wasn't starting GPU jobs svn path=/trunk/boinc/; revision=18002 --- checkin_notes | 6 ++++++ client/cpu_sched.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) {