- scheduler: fix typo; enforce 256MB CUDA memory limit

svn path=/trunk/boinc/; revision=16693
This commit is contained in:
David Anderson 2008-12-15 23:35:40 +00:00
parent ef3c9c7444
commit 41498a6840
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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;