mirror of https://github.com/BOINC/boinc.git
- scheduler: fix typo; enforce 256MB CUDA memory limit
svn path=/trunk/boinc/; revision=16693
This commit is contained in:
parent
ef3c9c7444
commit
41498a6840
|
@ -10116,3 +10116,9 @@ David 15 Dec 2008
|
|||
|
||||
sched/
|
||||
main.cpp
|
||||
|
||||
David 15 Dec 2008
|
||||
- scheduler: fix typo; enforce 256MB CUDA memory limit
|
||||
|
||||
sched/
|
||||
sched_plan.cpp
|
||||
|
|
|
@ -75,6 +75,7 @@ bool app_plan(SCHEDULER_REQUEST& sreq, char* plan_class, HOST_USAGE& hu) {
|
|||
|
||||
if (cp2->prop.totalGlobalMem < 256*1024*1024) {
|
||||
log_messages.printf(MSG_DEBUG, "CUDA mem < 256MB\n");
|
||||
return false;
|
||||
}
|
||||
COPROC* cu = new COPROC (cp->type);
|
||||
cu->count = 1;
|
||||
|
|
Loading…
Reference in New Issue