- web: add an option project-specific pref for

"accelerate GPU tasks by dedicating a CPU to each one".
    Enable this by putting
        $accelerate_gpu_apps_pref = true;
    in html/project/project.inc

svn path=/trunk/boinc/; revision=22657
This commit is contained in:
David Anderson 2010-11-09 05:10:56 +00:00
parent d384377743
commit e1e55f5db6
2 changed files with 18 additions and 0 deletions

View File

@ -7935,3 +7935,13 @@ David 08 Nov 2010
setup_project.py
client/
cpu_sched.cpp
David 08 Nov 2010
- web: add an option project-specific pref for
"accelerate GPU tasks by dedicating a CPU to each one".
Enable this by putting
$accelerate_gpu_apps_pref = true;
in html/project/project.inc
html/inc/
prefs.inc

View File

@ -293,6 +293,14 @@ $project_pref_descs = array(
),
);
if (isset($accelerate_gpu_apps_pref) && $accelerate_gpu_apps_pref) {
$project_pref_descs[] = new PREF_BOOL(
tra("Accelerate GPU tasks by dedicating a CPU to each one?"),
"accelerate_gpu_apps",
false
);
}
if ($app_types->count > 1) {
if ($app_types->cpu) {
$project_pref_descs[] = new PREF_BOOL (