mirror of https://github.com/BOINC/boinc.git
- server: plan class names containing 'nvidia' or 'cuda'
are assumed to be for NVIDIA GPU apps; plan class names containing 'ati' are assumed to be for AMD GPU apps. Clauses for 'nvidia' were missing in a couple of places. svn path=/trunk/boinc/; revision=24512
This commit is contained in:
parent
010b11406b
commit
690e18bbe3
|
@ -7982,3 +7982,17 @@ David 2 Nov 2011
|
||||||
des.h
|
des.h
|
||||||
ssimp.cpp
|
ssimp.cpp
|
||||||
makefile
|
makefile
|
||||||
|
|
||||||
|
David 2 Nov 2011
|
||||||
|
- server: plan class names containing 'nvidia' or 'cuda'
|
||||||
|
are assumed to be for NVIDIA GPU apps;
|
||||||
|
plan class names containing 'ati' are assumed to be for AMD GPU apps.
|
||||||
|
Clauses for 'nvidia' were missing in a couple of places.
|
||||||
|
|
||||||
|
sched/
|
||||||
|
sched_customize.cpp
|
||||||
|
sched_version.cpp
|
||||||
|
html/inc/
|
||||||
|
util.inc
|
||||||
|
lib/
|
||||||
|
gui_rpc_client_ops.cpp
|
||||||
|
|
|
@ -793,6 +793,9 @@ function get_app_types() {
|
||||||
} else if (strstr($av->plan_class, "cuda")) {
|
} else if (strstr($av->plan_class, "cuda")) {
|
||||||
$t->cuda = true;
|
$t->cuda = true;
|
||||||
$t->count++;
|
$t->count++;
|
||||||
|
} else if (strstr($av->plan_class, "nvidia")) {
|
||||||
|
$t->cuda = true;
|
||||||
|
$t->count++;
|
||||||
} else {
|
} else {
|
||||||
$t->cpu = true;
|
$t->cpu = true;
|
||||||
$t->count++;
|
$t->count++;
|
||||||
|
|
|
@ -2005,6 +2005,7 @@ int RPC_CLIENT::quit() {
|
||||||
RPC rpc(this);
|
RPC rpc(this);
|
||||||
|
|
||||||
retval = rpc.do_rpc("<quit/>\n");
|
retval = rpc.do_rpc("<quit/>\n");
|
||||||
|
if (retval) return retval;
|
||||||
while (rpc.fin.fgets(buf, 256)) {
|
while (rpc.fin.fgets(buf, 256)) {
|
||||||
if (match_tag(buf, "success")) {
|
if (match_tag(buf, "success")) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -572,6 +572,9 @@ bool app_plan_uses_gpu(const char* plan_class) {
|
||||||
if (strstr(plan_class, "cuda")) {
|
if (strstr(plan_class, "cuda")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if (strstr(plan_class, "nvidia")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (strstr(plan_class, "ati")) {
|
if (strstr(plan_class, "ati")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -420,6 +420,7 @@ static double max_32b_address_space() {
|
||||||
//
|
//
|
||||||
static BEST_APP_VERSION* check_homogeneous_app_version(
|
static BEST_APP_VERSION* check_homogeneous_app_version(
|
||||||
WORKUNIT& wu, bool reliable_only
|
WORKUNIT& wu, bool reliable_only
|
||||||
|
// TODO: enforce reliable_only
|
||||||
) {
|
) {
|
||||||
static BEST_APP_VERSION bav;
|
static BEST_APP_VERSION bav;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue