mirror of https://github.com/BOINC/boinc.git
- client: computation of # idle CUDA instances was wrong
svn path=/trunk/boinc/; revision=17087
This commit is contained in:
parent
b7a2c227ca
commit
9e7cb42084
|
@ -993,3 +993,9 @@ David 30 Jan 2009
|
|||
sched/
|
||||
sched_send.cpp
|
||||
server_types.cpp,h
|
||||
|
||||
David 30 Jan 2009
|
||||
- client: computation of # idle CUDA instances was wrong
|
||||
|
||||
client/
|
||||
rr_sim.cpp
|
||||
|
|
|
@ -257,7 +257,7 @@ void CLIENT_STATE::rr_simulation() {
|
|||
cpu_work_fetch.nidle_now = ncpus - sim_status.active_ncpus;
|
||||
if (cpu_work_fetch.nidle_now < 0) cpu_work_fetch.nidle_now = 0;
|
||||
if (coproc_cuda) {
|
||||
cuda_work_fetch.nidle_now = coproc_cuda->count - coproc_cuda->used;
|
||||
cuda_work_fetch.nidle_now = coproc_cuda->count - sim_status.active_cudas;
|
||||
if (cuda_work_fetch.nidle_now < 0) cuda_work_fetch.nidle_now = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue