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

SCM Repository

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

Diff of /branches/pure-cfg/src/compiler/c-target/runtime-names.sml

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

revision 551, Fri Feb 18 15:02:25 2011 UTC revision 552, Fri Feb 18 15:09:08 2011 UTC
# Line 45  Line 45 
45    (* names of generated functions *)    (* names of generated functions *)
46      val initGlobals = "Diderot_InitGlobals"     (* function for initializing program globals *)      val initGlobals = "Diderot_InitGlobals"     (* function for initializing program globals *)
47      fun strandInit strand = strand ^ "_InitState"      fun strandInit strand = strand ^ "_InitState"
48        fun strandTy strand = concat["Strand_", strand, "_t"]
49    
50    (* vector math functions *)    (* vector math functions *)
51      val scale = addVecSuffix "scale"      val scale = addVecSuffix "scale"
# Line 55  Line 56 
56      val normalize = addVecSuffix "normalize"      val normalize = addVecSuffix "normalize"
57    
58    (* Diderot runtime system hooks *)    (* Diderot runtime system hooks *)
59        val statusTy = "Status_t"
60      val toImageSpace = addVecSuffix "Diderot_ToImageSpace"      val toImageSpace = addVecSuffix "Diderot_ToImageSpace"
61      val inside = addVecSuffix "Diderot_Inside"      val inside = addVecSuffix "Diderot_Inside"
62      fun loadImage dim = concat["Diderot_LoadImage", Int.toString dim, "D"]      fun loadImage dim = concat["Diderot_LoadImage", Int.toString dim, "D"]

Legend:
Removed from v.551  
changed lines
  Added in v.552

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