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/runtime-names.sml
ViewVC logotype

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

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

revision 1430, Tue Jul 5 16:02:02 2011 UTC revision 1431, Tue Jul 5 16:22:30 2011 UTC
# Line 63  Line 63 
63      fun shadowMatTy (m, n) = F.format "Shadow_Mat%dx%d_t" [F.INT m, F.INT n]      fun shadowMatTy (m, n) = F.format "Shadow_Mat%dx%d_t" [F.INT m, F.INT n]
64      fun shadowImageTy d = concat["Shadow_image", Int.toString d, "D_t"]      fun shadowImageTy d = concat["Shadow_image", Int.toString d, "D_t"]
65      fun shadowImageFunc d = concat["ShadowImage", Int.toString d, "D"]      fun shadowImageFunc d = concat["ShadowImage", Int.toString d, "D"]
66      val shadowGlobalsTy = "Shadow_Globals_t"      val shadowGlobalsTy = "Shadow_globals_t"
67      val shadowGlaobalsName = "shadowGlobals"      val shadowGlaobalsName = "shadowGlobals"
68      fun convertToShadowVec n = concat["ShadowVec",Int.toString n]      fun convertToShadowVec n = concat["ShadowVec",Int.toString n]
69      fun unshadowVec n = concat["UnshadowVec",Int.toString n]      fun unshadowVec n = concat["UnshadowVec",Int.toString n]
70      fun convertToShadowMat (m,n) = F.format "ShadowMat%dx%d" [F.INT m, F.INT n]      fun convertToShadowMat (m,n) = F.format "ShadowMat%dx%d" [F.INT m, F.INT n]
71      (*GPU side image data types and functions *)      (*GPU side image data types and functions *)
72      val imageDataType = "Diderot_Data_Ptr_t"      val imageDataType = "Diderot_data_ptr_t"
73      val globalImageDataName = "diderot_data_ptrs"      val globalImageDataName = "diderotDataPtrs"
74      fun imageDataName name = concat[name,"_data"]      fun imageDataName name = name ^ "Data"
75    
76    (* names of generated tyes, functions, and globals *)    (* names of generated tyes, functions, and globals *)
77      val initGlobals = "Diderot_InitGlobals"     (* function for initializing program globals *)      val initGlobals = "Diderot_InitGlobals"     (* function for initializing program globals *)
# Line 84  Line 84 
84      fun strandInit strand = strand ^ "_InitState"      fun strandInit strand = strand ^ "_InitState"
85      val strandInitSetup = "Diderot_Strand_Init"      val strandInitSetup = "Diderot_Strand_Init"
86      fun strandTy strand = concat["Strand_", strand, "_t"]      fun strandTy strand = concat["Strand_", strand, "_t"]
     fun strandShadowTy strand = concat["Shadow_Strand_", strand, "_t"]  
     fun strandShadowName name = concat["unshadowed_", name]  
87      fun strandCopy strand = strand ^ "_Copy"      fun strandCopy strand = strand ^ "_Copy"
88      fun strandUpdate strand = concat[strand,"_update"]      fun strandUpdate strand = concat[strand,"_update"]
89      fun strandStabilize strand = concat[strand,"_stabilize"]      fun strandStabilize strand = concat[strand,"_stabilize"]

Legend:
Removed from v.1430  
changed lines
  Added in v.1431

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