From ad3ed99b96425fc637ba4d232aa85d86a18532e0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 1 Apr 2010 21:18:16 +0000 Subject: [PATCH] - scheduler: choose cuda_fermi over other cuda plan classes svn path=/trunk/boinc/; revision=21052 --- checkin_notes | 6 ++++++ sched/sched_customize.cpp | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 7be9124b14..15bc2e94d5 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2380,3 +2380,9 @@ David 1 Apr 2010 AsyncRPC.cpp sg_ProjectComponents.cpp ViewStatisticts.cpp + +David 1 Apr 2010 + - scheduler: choose cuda_fermi over other cuda plan classes + + sched/ + sched_customize.cpp diff --git a/sched/sched_customize.cpp b/sched/sched_customize.cpp index 0e91d25fae..52d676bc40 100644 --- a/sched/sched_customize.cpp +++ b/sched/sched_customize.cpp @@ -349,7 +349,7 @@ bool app_plan(SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu) { return false; } if (cp->cuda_version < 3000) { - add_no_work_message("CUDA version 2.3 needed"); + add_no_work_message("CUDA version 3.0 needed"); return false; } min_ram = PLAN_CUDA23_MIN_RAM; @@ -438,6 +438,8 @@ bool app_plan(SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu) { if (!strcmp(plan_class, "cuda23")) { hu.flops *= 1.01; + } else if (!strcmp(plan_class, "cuda_fermi")) { + hu.flops *= 1.02; } if (config.debug_version_select) {