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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/include/Diderot/shadow-types.h
ViewVC logotype

Diff of /branches/pure-cfg/src/include/Diderot/shadow-types.h

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

revision 1397, Mon Jun 27 16:04:43 2011 UTC revision 1398, Wed Jun 29 17:20:05 2011 UTC
# Line 43  Line 43 
43  // Shadow of GPU-side image types.  Note that these should have the same organization as  // Shadow of GPU-side image types.  Note that these should have the same organization as
44  // the Diderot_image[123]D_t types defined in cl-types.h  // the Diderot_image[123]D_t types defined in cl-types.h
45    
46  //! shadow wrapper for 1D image data  //! shadow wrapper for 1D image meta-info
47  typedef struct {  typedef struct {
     cl_mem              data;           //!< GPU-side memory object for data.  
48      cl_int              size[1];      cl_int              size[1];
49      Shadow_real_t       s;              //!< scaling from world-space to image-space      Shadow_real_t       s;              //!< scaling from world-space to image-space
50      Shadow_real_t       t;              //!< translation from world-space to image-space      Shadow_real_t       t;              //!< translation from world-space to image-space
51  } Shadow_image1D_t;  } Shadow_image1D_t;
52    
53  //! shadow wrapper for 2D image data  //! shadow wrapper for 2D image meta-info
54  typedef struct {  typedef struct {
     cl_mem              data;           //!< GPU-side memory object for data.  
55      cl_int              size[2];        //!< sizes (fast to slow)      cl_int              size[2];        //!< sizes (fast to slow)
56      Shadow_Mat2x2_t     w2i;            //!< affine tranform from world space to index space.  This is the      Shadow_Mat2x2_t     w2i;            //!< affine tranform from world space to index space.  This is the
57                                          //!  inverse of the index to world-space transform that is loaded from                                          //!  inverse of the index to world-space transform that is loaded from
# Line 62  Line 60 
60      Shadow_Mat2x2_t     w2iT;           //!< transpose w3i      Shadow_Mat2x2_t     w2iT;           //!< transpose w3i
61  } Shadow_image2D_t;  } Shadow_image2D_t;
62    
63  //! shadow wrapper for 3D image data  //! shadow wrapper for 3D image meta-info
64  typedef struct {  typedef struct {
     cl_mem              data;           //!< GPU-side memory object for data.  
65      cl_int              size[3];        //!< sizes (fast to slow)      cl_int              size[3];        //!< sizes (fast to slow)
66      Shadow_Mat3x3_t     w2i;            //!< affine tranform from world space to index space.  This is the      Shadow_Mat3x3_t     w2i;            //!< affine tranform from world space to index space.  This is the
67                                          //!  inverse of the index to world-space transform that is loaded from                                          //!  inverse of the index to world-space transform that is loaded from

Legend:
Removed from v.1397  
changed lines
  Added in v.1398

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