mirror of https://github.com/BOINC/boinc.git
- scheduler: fix anon platform bug that caused zero FPOPS est
svn path=/trunk/boinc/; revision=21689
This commit is contained in:
parent
356327d88c
commit
db667b77e8
|
@ -4094,3 +4094,9 @@ David 2 Jun 2010
|
||||||
sched_config.cpp,h
|
sched_config.cpp,h
|
||||||
sched_limit.cpp
|
sched_limit.cpp
|
||||||
sched_send.cpp
|
sched_send.cpp
|
||||||
|
|
||||||
|
David 3 Jun 2010
|
||||||
|
- scheduler: fix anon platform bug that caused zero FPOPS est
|
||||||
|
|
||||||
|
sched/
|
||||||
|
sched_send.cpp
|
||||||
|
|
|
@ -1398,6 +1398,11 @@ static double clamp_req_sec(double x) {
|
||||||
void send_work_setup() {
|
void send_work_setup() {
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
|
g_wreq->seconds_to_fill = clamp_req_sec(g_request->work_req_seconds);
|
||||||
|
g_wreq->cpu_req_secs = clamp_req_sec(g_request->cpu_req_secs);
|
||||||
|
g_wreq->cpu_req_instances = g_request->cpu_req_instances;
|
||||||
|
g_wreq->anonymous_platform = anonymous(g_request->platforms.list[0]);
|
||||||
|
|
||||||
if (g_wreq->anonymous_platform) {
|
if (g_wreq->anonymous_platform) {
|
||||||
estimate_flops_anon_platform();
|
estimate_flops_anon_platform();
|
||||||
}
|
}
|
||||||
|
@ -1407,11 +1412,6 @@ void send_work_setup() {
|
||||||
get_running_frac();
|
get_running_frac();
|
||||||
g_wreq->get_job_limits();
|
g_wreq->get_job_limits();
|
||||||
|
|
||||||
g_wreq->seconds_to_fill = clamp_req_sec(g_request->work_req_seconds);
|
|
||||||
g_wreq->cpu_req_secs = clamp_req_sec(g_request->cpu_req_secs);
|
|
||||||
g_wreq->cpu_req_instances = g_request->cpu_req_instances;
|
|
||||||
g_wreq->anonymous_platform = anonymous(g_request->platforms.list[0]);
|
|
||||||
|
|
||||||
if (g_request->coprocs.cuda.count) {
|
if (g_request->coprocs.cuda.count) {
|
||||||
g_wreq->cuda_req_secs = clamp_req_sec(g_request->coprocs.cuda.req_secs);
|
g_wreq->cuda_req_secs = clamp_req_sec(g_request->coprocs.cuda.req_secs);
|
||||||
g_wreq->cuda_req_instances = g_request->coprocs.cuda.req_instances;
|
g_wreq->cuda_req_instances = g_request->coprocs.cuda.req_instances;
|
||||||
|
|
Loading…
Reference in New Issue