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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/compiler/cl-target/cl-target.sml
ViewVC logotype

Diff of /branches/pure-cfg/src/compiler/cl-target/cl-target.sml

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

revision 1322, Sun Jun 12 17:13:33 2011 UTC revision 1326, Sun Jun 12 20:56:27 2011 UTC
# Line 469  Line 469 
469    
470        (* generate the data and global parameters *)        (* generate the data and global parameters *)
471          fun genKeneralGlobalParams ((name,tyname)::rest) =          fun genKeneralGlobalParams ((name,tyname)::rest) =
               CL.PARAM([], CL.T_Ptr(CL.T_Named RN.globalsTy), concat[RN.globalsVarName]) ::  
472                CL.PARAM([], CL.T_Ptr(CL.T_Named (RN.imageTy tyname)),RN.addBufferSuffix name) ::                CL.PARAM([], CL.T_Ptr(CL.T_Named (RN.imageTy tyname)),RN.addBufferSuffix name) ::
473                CL.PARAM([], CL.T_Ptr(CL.voidTy),RN.addBufferSuffixData name) ::                CL.PARAM([], CL.T_Ptr(CL.voidTy),RN.addBufferSuffixData name) ::
474                genKeneralGlobalParams rest                genKeneralGlobalParams rest
# Line 490  Line 489 
489                val inState = "strand_in"                val inState = "strand_in"
490                val outState = "strand_out"                val outState = "strand_out"
491                val params = [                val params = [
492                          CL.PARAM(["__global"], CL.T_Ptr(CL.T_Named RN.globalsTy),
493                            concat[RN.globalsVarName]),
494                        CL.PARAM(["__global"], CL.T_Ptr(CL.T_Named tyName), "selfIn"),                        CL.PARAM(["__global"], CL.T_Ptr(CL.T_Named tyName), "selfIn"),
495                        CL.PARAM(["__global"], CL.T_Ptr(CL.T_Named tyName), "selfOut"),                        CL.PARAM(["__global"], CL.T_Ptr(CL.T_Named tyName), "selfOut"),
496                        CL.PARAM(["__global"], CL.intTy, "width")                        CL.PARAM(["__global"], CL.intTy, "width")

Legend:
Removed from v.1322  
changed lines
  Added in v.1326

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