SCM Repository
Diff of /trunk/src/lib/cl-target/clinfo.h
Parent Directory
|
Revision Log
|
Patch
revision 2059, Tue Oct 30 17:46:04 2012 UTC | revision 2060, Tue Oct 30 19:31:28 2012 UTC | |
---|---|---|
# | Line 11 | Line 11 |
11 | #ifndef _CLINFO_H_ | #ifndef _CLINFO_H_ |
12 | #define _CLINFO_H_ | #define _CLINFO_H_ |
13 | ||
14 | #define NVIDIA_VENDOR_ID 4318 | |
15 | #define AMD_VENDOR_ID 4098 | |
16 | ||
17 | #include "Diderot/diderot.h" | #include "Diderot/diderot.h" |
18 | # ifdef HAVE_CL_CL_H | # ifdef HAVE_CL_CL_H |
19 | # include <CL/cl.h> | # include <CL/cl.h> |
# | Line 25 | Line 28 |
28 | char *vendor; //!< device vendor | char *vendor; //!< device vendor |
29 | int majorVersion; //!< major OpenCL version number supported by the device | int majorVersion; //!< major OpenCL version number supported by the device |
30 | int minorVersion; //!< minor OpenCL version number supported by the device | int minorVersion; //!< minor OpenCL version number supported by the device |
31 | cl_uint vendorId; //!< A unique device vndeo identifier. | |
32 | cl_device_id id; //!< the device ID | cl_device_id id; //!< the device ID |
33 | cl_device_type ty; //!< the type of the device | cl_device_type ty; //!< the type of the device |
34 | cl_bool isAvail; //!< true, if the device is available | cl_bool isAvail; //!< true, if the device is available |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |