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 1376, Wed Jun 22 21:46:24 2011 UTC revision 1377, Thu Jun 23 00:29:31 2011 UTC
# Line 24  Line 24 
24      char            *name;              //!< name of device      char            *name;              //!< name of device
25      cl_device_id    id;                 //!< the device ID      cl_device_id    id;                 //!< the device ID
26      cl_device_type  ty;                 //!< the type of the device      cl_device_type  ty;                 //!< the type of the device
27        cl_uint         addrBits;           //!< number of address bits on device (32 or 64)
28        cl_bool         littleEndian;       //!< true if device is little endian
29        cl_uint         numCUs;             //!< number of compute units
30        cl_uint         maxWIDims;          //!< maximum number of work item dimensions
31        size_t          maxWGSize;          //!< maximum workgroup size
32        size_t          *maxWISize;         //!< maximum number of work items in each dimension
33        cl_ulong        globalMemSzb;       //!< the size of the device's global memory
34        cl_ulong        localMemSzb;        //!< the size of the device's local memory
35        cl_ulong        maxAllocSzb;        //!< maximum allocation size in bytes
36        size_t          maxImg2D[2];        //!< maximum width and height of 2D images
37        size_t          maxImg3D[3];        //!< maximim width, height, and depthe of 3D images
38  } DeviceInfo_t;  } DeviceInfo_t;
39    
40  typedef struct {  typedef struct {

Legend:
Removed from v.1376  
changed lines
  Added in v.1377

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