mirror of https://github.com/BOINC/boinc.git
- client: typo in work fetch code; may cause minor errors
svn path=/trunk/boinc/; revision=17691
This commit is contained in:
parent
3638e37452
commit
62ac6358e6
|
@ -3455,3 +3455,9 @@ David 27 Mar 2009
|
|||
|
||||
clientgui/
|
||||
ProjectInfoPage.cpp
|
||||
|
||||
David 27 Mar 2009
|
||||
- client: typo in work fetch code; may cause minor errors
|
||||
|
||||
client/
|
||||
work_fetch.cpp
|
||||
|
|
|
@ -427,20 +427,18 @@ PROJECT* WORK_FETCH::choose_project() {
|
|||
if (!p) {
|
||||
p = cpu_work_fetch.choose_project(FETCH_IF_IDLE_INSTANCE);
|
||||
}
|
||||
if (coproc_cuda) {
|
||||
if (!p && coproc_cuda) {
|
||||
p = cuda_work_fetch.choose_project(FETCH_IF_MAJOR_SHORTFALL);
|
||||
}
|
||||
if (!p) {
|
||||
p = cpu_work_fetch.choose_project(FETCH_IF_MAJOR_SHORTFALL);
|
||||
}
|
||||
|
||||
if (!p && coproc_cuda) {
|
||||
p = cuda_work_fetch.choose_project(FETCH_IF_MINOR_SHORTFALL);
|
||||
}
|
||||
if (!p) {
|
||||
p = cpu_work_fetch.choose_project(FETCH_IF_MINOR_SHORTFALL);
|
||||
}
|
||||
|
||||
if (!p && coproc_cuda) {
|
||||
p = cuda_work_fetch.choose_project(FETCH_IF_PROJECT_STARVED);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue