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 1461, Mon Aug 8 04:50:12 2011 UTC revision 1462, Tue Aug 9 07:22:45 2011 UTC
# Line 50  Line 50 
50  #else  #else
51  # error unable to access elements of host vectors  # error unable to access elements of host vectors
52  #endif  #endif
53    //Used for printing out shadow vector types
54    #if defined(CL_HOST_VECTORS_ARE_STRUCTS)
55    #  define VSUBP(v,i)        v.s[i]
56    #elif defined(CL_HOST_VECTORS_ARE_ARRAYS)
57    #  define VSUBP(v,i)        v[i]
58    #else
59    # error unable to access elements of host vectors
60    #endif
61    
62  // 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
63  // the Diderot_image[123]D_t types defined in cl-types.h  // the Diderot_image[123]D_t types defined in cl-types.h

Legend:
Removed from v.1461  
changed lines
  Added in v.1462

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