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 1465, Wed Aug 10 06:06:23 2011 UTC revision 1466, Wed Aug 10 12:53:48 2011 UTC
# Line 169  Line 169 
169   */   */
170  void ShadowImage3D (cl_context cxt, Shadow_image3D_t *dst, Diderot_image3D_t *img);  void ShadowImage3D (cl_context cxt, Shadow_image3D_t *dst, Diderot_image3D_t *img);
171    
172    // the following functions are currently not used by the compiler or runtime;
173    // are they necessary?
174    #ifdef NEED_UNSHADOW_FUNCTIONS
175  /*! \brief initialize a host 2D vector from a shadow vector.  /*! \brief initialize a host 2D vector from a shadow vector.
176   *  \param dst the host value to initialize (an array)   *  \param dst the host value to initialize (an array)
177   *  \param src the shadow vector (an array)   *  \param src the shadow vector (an array)
# Line 201  Line 204 
204      ((Diderot_union4_t)(dst)).r[2] = VSUB(src,2);      ((Diderot_union4_t)(dst)).r[2] = VSUB(src,2);
205      ((Diderot_union4_t)(dst)).r[3] = VSUB(src,3);      ((Diderot_union4_t)(dst)).r[3] = VSUB(src,3);
206  }  }
207    #endif /* NEED_UNSHADOW_FUNCTIONS */
208    
209  #endif /* !_SHADOW_TYPES_H_ */  #endif /* !_SHADOW_TYPES_H_ */

Legend:
Removed from v.1465  
changed lines
  Added in v.1466

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