2008-08-06 18:36:30 +00:00
|
|
|
// This file is part of BOINC.
|
2008-03-20 03:13:30 +00:00
|
|
|
// http://boinc.berkeley.edu
|
|
|
|
// Copyright (C) 2008 University of California
|
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
2008-03-20 03:13:30 +00:00
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
2008-03-20 03:13:30 +00:00
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
2008-03-20 03:13:30 +00:00
|
|
|
|
|
|
|
#include "boinc_db.h"
|
|
|
|
#include "server_types.h"
|
|
|
|
|
2009-01-20 21:31:13 +00:00
|
|
|
// reasons for the planning function to reject a host
|
|
|
|
|
2009-02-17 03:16:25 +00:00
|
|
|
#define PLAN_REJECT_CUDA_NO_DEVICE 2
|
|
|
|
#define PLAN_REJECT_CUDA_VERSION 3
|
|
|
|
#define PLAN_REJECT_NVIDIA_DRIVER_VERSION 4
|
|
|
|
#define PLAN_REJECT_CUDA_MEM 5
|
|
|
|
#define PLAN_REJECT_CUDA_SPEED 6
|
|
|
|
#define PLAN_REJECT_UNKNOWN 7
|
2009-01-20 21:31:13 +00:00
|
|
|
|
2009-05-28 16:37:26 +00:00
|
|
|
#define PLAN_CUDA_MIN_DRIVER_VERSION 17700
|
|
|
|
#define PLAN_CUDA_MIN_RAM (254*1024*1024)
|
|
|
|
|
2009-01-20 21:31:13 +00:00
|
|
|
extern int app_plan(SCHEDULER_REQUEST&, char* plan_class, HOST_USAGE&);
|