- scheduler: choose cuda_fermi over other cuda plan classes

svn path=/trunk/boinc/; revision=21052
This commit is contained in:
David Anderson 2010-04-01 21:18:16 +00:00
parent d810f104f3
commit ad3ed99b96
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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) {