mirror of https://github.com/BOINC/boinc.git
- client: work fetch fixes
svn path=/trunk/boinc/; revision=17090
This commit is contained in:
parent
8de66223fd
commit
be31245c82
|
@ -1018,3 +1018,10 @@ David 30 Jan 2009
|
|||
work_fetch.cpp
|
||||
lib/
|
||||
coproc.cpp
|
||||
|
||||
David 30 Jan 2009
|
||||
- client: work fetch fixes
|
||||
|
||||
client/
|
||||
work_fetch.cpp
|
||||
scheduler_op.cpp
|
||||
|
|
|
@ -221,7 +221,7 @@ int SCHEDULER_OP::start_rpc(PROJECT* p) {
|
|||
if (coproc_cuda) {
|
||||
msg_printf(p, MSG_INFO,
|
||||
"CUDA work request: %.2f seconds; %d idle GPUs",
|
||||
cuda_work_fetch.req_secs, cuda_work_fetch.req_instances
|
||||
coproc_cuda->req_secs, coproc_cuda->req_instances
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -315,10 +315,11 @@ PROJECT* WORK_FETCH::choose_project() {
|
|||
if (request_cuda) {
|
||||
cuda_work_fetch.set_request(p);
|
||||
}
|
||||
if (coproc_cuda) {
|
||||
coproc_cuda->req_secs = cuda_work_fetch.req_secs;
|
||||
coproc_cuda->req_instances = cuda_work_fetch.req_instances;
|
||||
}
|
||||
}
|
||||
if (coproc_cuda) {
|
||||
coproc_cuda->req_secs = cuda_work_fetch.req_secs;
|
||||
coproc_cuda->req_instances = cuda_work_fetch.req_instances;
|
||||
coproc_cuda->estimated_delay = cuda_work_fetch.estimated_delay;
|
||||
}
|
||||
if (log_flags.work_fetch_debug) {
|
||||
print_state();
|
||||
|
|
Loading…
Reference in New Issue