Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
clfDeviceInfo.hh
1 /*
2 This file is part of the BIAS library (Basic ImageAlgorithmS).
3 
4 Copyright (C) 2003, 2004 (see file CONTACTS for details)
5  Multimediale Systeme der Informationsverarbeitung
6  Institut fuer Informatik
7  Christian-Albrechts-Universitaet Kiel
8 
9 
10 BIAS is free software; you can redistribute it and/or modify
11 it under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation; either version 2.1 of the License, or
13 (at your option) any later version.
14 
15 BIAS is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU Lesser General Public License for more details.
19 
20 You should have received a copy of the GNU Lesser General Public License
21 along with BIAS; if not, write to the Free Software
22 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */
24 
25 
26 #ifndef CLFDEVICEINFO_HH_
27 #define CLFDEVICEINFO_HH_
28 
29 #include <string>
30 #include <vector>
31 
32 struct clfDeviceInfo {
33  std::string name; // Name of Device
34  std::string extensions; // The Extensions the Device Supports
35  std::string clfver; // The clf Version the Device Supports
36  std::string driverVersion;
37  int maxComputeUnits; //
38  unsigned long long globalMemSize;
39  unsigned long long localMemSize;
41  unsigned int maxWorkitemDimensions;
42  std::vector<size_t> maxWorkitemSizes;
43  bool imageSupport; // is image supported
44  size_t maxImg2DWidth;
46  unsigned int maxWriteImgs;
47  unsigned int maxReadImgs;
49 
50 };
51 
52 #endif /* CLFDEVICEINFO_HH_ */
std::vector< size_t > maxWorkitemSizes
std::string extensions
unsigned long long localMemSize
std::string name
unsigned int maxReadImgs
size_t maxImg2DWidth
unsigned long long globalMemSize
size_t maxWorkgroupSize
std::string clfver
std::string driverVersion
unsigned int maxWorkitemDimensions
size_t maxImg2DHeight
unsigned int maxWriteImgs