Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/lib/cl-target/clinfo.h
ViewVC logotype

Diff of /branches/pure-cfg/src/lib/cl-target/clinfo.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1435, Tue Jul 5 23:59:08 2011 UTC revision 1436, Wed Jul 6 18:55:51 2011 UTC
# Line 22  Line 22 
22    
23  typedef struct {  typedef struct {
24      char            *name;              //!< name of device      char            *name;              //!< name of device
25        char            *vendor;            //!< device vendor
26      int             majorVersion;       //!< major OpenCL version number supported by the device      int             majorVersion;       //!< major OpenCL version number supported by the device
27      int             minorVersion;       //!< minor OpenCL version number supported by the device      int             minorVersion;       //!< minor OpenCL version number supported by the device
28      cl_device_id    id;                 //!< the device ID      cl_device_id    id;                 //!< the device ID
# Line 41  Line 42 
42      cl_ulong        maxAllocSzb;        //!< maximum allocation size in bytes      cl_ulong        maxAllocSzb;        //!< maximum allocation size in bytes
43      size_t          maxImg2D[2];        //!< maximum width and height of 2D images      size_t          maxImg2D[2];        //!< maximum width and height of 2D images
44      size_t          maxImg3D[3];        //!< maximim width, height, and depthe of 3D images      size_t          maxImg3D[3];        //!< maximim width, height, and depthe of 3D images
45                                            // prefered vector widths by type:
46        cl_uint         charWid;            //!< prefered width of char vectors
47        cl_uint         shortWid;           //!< prefered width of short vectors
48        cl_uint         intWid;             //!< prefered width of int vectors
49        cl_uint         longWid;            //!< prefered width of long vectors
50        cl_uint         floatWid;           //!< prefered width of float vectors
51        cl_uint         doubleWid;          //!< prefered width of double vectors
52                                            //!  (0 if doubles are not supported)
53  } DeviceInfo_t;  } DeviceInfo_t;
54    
55  typedef struct {  typedef struct {

Legend:
Removed from v.1435  
changed lines
  Added in v.1436

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0