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

SCM Repository

[diderot] Diff of /branches/vis12/src/compiler/codegen/target-sig.sml
ViewVC logotype

Diff of /branches/vis12/src/compiler/codegen/target-sig.sml

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

revision 1704, Tue Mar 6 15:44:37 2012 UTC revision 1705, Tue Mar 6 21:59:47 2012 UTC
# Line 65  Line 65 
65    
66    (* programs *)    (* programs *)
67      structure Program : sig      structure Program : sig
68          val new : {          val new : TargetUtil.target_desc -> program
                 name : string,          (* stem of source file *)  
                 exec : bool,            (* true for standalone programs *)  
                 double : bool,          (* true for double-precision support *)  
                 parallel : bool,        (* true for multithreaded (or multi-GPU) target *)  
                 debug : bool            (* true for debug support in executable *)  
               } -> program  
69          val inputs : program * stm -> unit      (* register options for input-variables *)          val inputs : program * stm -> unit      (* register options for input-variables *)
70          val init : program * stm -> unit        (* initialization of program globals *)          val init : program * stm -> unit        (* initialization of program globals *)
71        (* register the initially code for a program *)        (* register the initially code for a program *)
# Line 84  Line 78 
78                  strand : Atom.atom,                  strand : Atom.atom,
79                  args : exp list                  args : exp list
80                } -> unit                } -> unit
81        (* output the code to a file.  The string is the basename of the file, the extension        (* output the code to one or more files *)
82         * is provided by the target.          val generate : program -> unit
        *)  
         val generate : string * program -> unit  
83        end        end
84    
85    (* strands *)    (* strands *)

Legend:
Removed from v.1704  
changed lines
  Added in v.1705

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