mirror of https://github.com/BOINC/boinc.git
- client: enforce_schedule() wasn't starting GPU jobs
svn path=/trunk/boinc/; revision=18002
This commit is contained in:
parent
8576ebc1eb
commit
e8a0cb3742
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue