- scheduler: bug fix.

sched/
        sched_customize.cpp

svn path=/trunk/boinc/; revision=19150
This commit is contained in:
Rom Walton 2009-09-23 23:59:19 +00:00
parent 9049f5fa14
commit 9dd532b54e
2 changed files with 9 additions and 3 deletions

View File

@ -8029,3 +8029,9 @@ David 23 Sept 2009
sched/
sched_customize.cpp
Rom 23 Sept 2009
- scheduler: bug fix.
sched/
sched_customize.cpp

View File

@ -127,14 +127,14 @@ bool app_plan(SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu) {
if (!strcmp(plan_class, "ati")) {
// here if we require CAL version 1.2 or earlier
//
if (vers <= 1003000) {
if (vers >= 1003000) {
if (config.debug_version_select) {
log_messages.printf(MSG_NORMAL,
"[version] host has CAL version %s, need 1.2-\n",
cp->version
);
}
add_no_work_message("ATI driver version 1.2 needed to use GPU");
add_no_work_message("ATI Catalyst 9.1 or less needed to use GPU");
return false;
}
}
@ -148,7 +148,7 @@ bool app_plan(SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu) {
cp->version
);
}
add_no_work_message("ATI driver version 1.3+ needed to use GPU");
add_no_work_message("ATI Catalyst 9.2 or better needed to use GPU");
return false;
}
}