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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/cxx-util/cxx-names.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/cxx-util/cxx-names.sml

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

revision 3954, Sat Jun 11 17:59:55 2016 UTC revision 3955, Sun Jun 12 15:55:01 2016 UTC
# Line 42  Line 42 
42      val tensorStruct : int list -> string      val tensorStruct : int list -> string
43      val tensorTy : int list -> CLang.ty      val tensorTy : int list -> CLang.ty
44    
45        val tensorCopy : int list -> string
46    
47    (* vector related names *)    (* vector related names *)
48      val vecTyName : int -> string      val vecTyName : int -> string
49      val vecTy     : int -> CLang.ty      val vecTy     : int -> CLang.ty
# Line 100  Line 102 
102      fun tensorStruct shape = "tensor_" ^ String.concatWithMap "_" Int.toString shape      fun tensorStruct shape = "tensor_" ^ String.concatWithMap "_" Int.toString shape
103      fun tensorTy shape = CL.T_Named(tensorStruct shape)      fun tensorTy shape = CL.T_Named(tensorStruct shape)
104    
105        fun tensorCopy shape = "tensor_copy_" ^ String.concatWithMap "_" Int.toString shape
106    
107      fun vecTyName w = "vec" ^ Int.toString w      fun vecTyName w = "vec" ^ Int.toString w
108      fun vecTy w = CL.T_Named(vecTyName w)      fun vecTy w = CL.T_Named(vecTyName w)
109      fun vsum w = "vsum" ^ Int.toString w      fun vsum w = "vsum" ^ Int.toString w

Legend:
Removed from v.3954  
changed lines
  Added in v.3955

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