- scheduler: compile fixes

svn path=/trunk/boinc/; revision=18783
This commit is contained in:
David Anderson 2009-07-30 17:00:43 +00:00
parent 6880e1820e
commit fa0c32c20e
4 changed files with 12 additions and 6 deletions

View File

@ -6694,3 +6694,9 @@ Rom 29 July 2009
proxy_info.h
util.cpp
win_util.h
David 30 July 2009
- scheduler: compile fixes
sched/
sched_customize.cpp

View File

@ -210,7 +210,7 @@ function language_form() {
."<option value=ca>Català(Catalan)"
."<option value=cs>Čeština (Czech)"
."<option value=de>Deutsch (German)"
//."<option value=en>English"
."<option value=en>English"
."<option value=es>Espa&ntilde;ol (Spanish)"
."<option value=fr>Fran&ccedil;ais (French)"
."<option value=ja>日本語 (Japanese)"

View File

@ -294,7 +294,7 @@ language("Polish", array(
site("http://www.boinc.org.pl/", "Team boinc.pl"),
site("http://www.boinc.prv.pl", "BOINC@Kolobrzeg"),
site("http://www.boincatpoland.org", "BOINC@Poland"),
site("http://www.boinc.pl", "www.boinc.pl")
//site("http://www.boinc.pl", "www.boinc.pl"),
));
language("Portuguese", array(
site( "http://portugalathome.pt.vu/", "Portugal@home"),

View File

@ -51,7 +51,7 @@
#include "sched_customize.h"
bool wu_is_infeasible_custom(WORKUNIT& wu, APP& app, BEST_APP_VERSION& bav) {
#if 1
#if 0
// example: for CUDA app, wu.batch is the minimum number of processors.
// Don't send if #procs is less than this.
//
@ -117,11 +117,11 @@ int app_plan(SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu) {
return PLAN_REJECT_CUDA_VERSION;
}
if (cp->drvVersion && cp->drvVersion < PLAN_CUDA_MIN_DRIVER_VERSION) {
if (cp->display_driver_version && cp->display_driver_version < PLAN_CUDA_MIN_DRIVER_VERSION) {
if (config.debug_version_select) {
log_messages.printf(MSG_NORMAL,
"[version] NVIDIA driver version %d < PLAN_CUDA_MIN_DRIVER_VERSION\n",
cp->drvVersion
cp->display_driver_version
);
}
return PLAN_REJECT_NVIDIA_DRIVER_VERSION;
@ -227,7 +227,7 @@ bool JOB::get_score() {
score = 1;
#if 1
#if 0
// example: for CUDA app, wu.batch is the minimum number of processors.
// add min/actual to score
// (this favors sending jobs that need lots of procs to GPUs that have them)