mirror of https://github.com/BOINC/boinc.git
- scheduler: add plan class "cuda_fermi":
requires CUDA 2.3 and compute capability 2.0+ svn path=/trunk/boinc/; revision=20748
This commit is contained in:
parent
09b0a9f93c
commit
f82216e203
|
@ -1425,3 +1425,10 @@ David 26 Feb 2009
|
|||
manage_app_versions.php
|
||||
clear_host.php
|
||||
transition_all.php
|
||||
|
||||
David 26 Feb 2009
|
||||
- scheduler: add plan class "cuda_fermi":
|
||||
requires CUDA 2.3 and compute capability 2.0+
|
||||
|
||||
sched/
|
||||
sched_customize.cpp
|
||||
|
|
|
@ -342,7 +342,7 @@ bool app_plan(SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu) {
|
|||
// Old BOINC clients report display driver version;
|
||||
// newer ones report CUDA RT version
|
||||
//
|
||||
if (!strcmp(plan_class, "cuda23")) {
|
||||
if (!strcmp(plan_class, "cuda23") || !strcmp(plan_class, "cuda_fermi") {
|
||||
if (cp->cuda_version) {
|
||||
if (cp->cuda_version < 2030) {
|
||||
add_no_work_message("CUDA version 2.3 needed");
|
||||
|
@ -364,6 +364,13 @@ bool app_plan(SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu) {
|
|||
return false;
|
||||
}
|
||||
min_ram = PLAN_CUDA23_MIN_RAM;
|
||||
if (!strcmp(plan_class, "cuda_fermi")) {
|
||||
int compute_capability = cp->prop.major*100 + cp->prop.minor;
|
||||
if (compute_capability < 200) {
|
||||
add_no_work_message("Fermi-class GPU needed");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (cp->display_driver_version && cp->display_driver_version < PLAN_CUDA_MIN_DRIVER_VERSION) {
|
||||
if (config.debug_version_select) {
|
||||
|
|
Loading…
Reference in New Issue