mirror of https://github.com/BOINC/boinc.git
- client: enforce <no_gpus> in config file not just at startup,
but also when config file is re-read. svn path=/trunk/boinc/; revision=25600
This commit is contained in:
parent
813470f08d
commit
db44fa1371
|
@ -3537,7 +3537,7 @@ David 25 Apr 2012
|
|||
if (*pbuf == NULL)
|
||||
not
|
||||
if (pbuf == NULL)
|
||||
- various code cleanups from
|
||||
- various code cleanups
|
||||
- Makefile.am: don't include clientgui/res; nothing to make there
|
||||
|
||||
from Steffen Moeller
|
||||
|
@ -3551,3 +3551,10 @@ David 25 Apr 2012
|
|||
client/
|
||||
coproc_detect.cpp
|
||||
client_types.cpp
|
||||
|
||||
David 26 Apr 2012
|
||||
- client: enforce <no_gpus> in config file not just at startup,
|
||||
but also when config file is re-read.
|
||||
|
||||
client/
|
||||
log_flags.cpp
|
||||
|
|
|
@ -562,6 +562,7 @@ void process_gpu_exclusions() {
|
|||
}
|
||||
|
||||
bool gpu_excluded(APP* app, COPROC& cp, int ind) {
|
||||
if (config.no_gpus) return true;
|
||||
PROJECT* p = app->project;
|
||||
for (unsigned int i=0; i<config.exclude_gpus.size(); i++) {
|
||||
EXCLUDE_GPU& eg = config.exclude_gpus[i];
|
||||
|
|
Loading…
Reference in New Issue