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

SCM Repository

[diderot] Annotation of /branches/vis12/doc/report/diderotc-1.tex
ViewVC logotype

Annotation of /branches/vis12/doc/report/diderotc-1.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1846 - (view) (download) (as text)

1 : jhr 1684 %!TEX root = report.tex
2 :     %
3 :    
4 :     \begin{ManPage}{1}{diderotc}{}
5 :     \begin{NAME}
6 :     \Prog{diderotc} --- Diderot compiler
7 :     \end{NAME}
8 :     \begin{SYNOPSIS}
9 :     \Prog{diderotc}
10 :     \Arg{options}
11 :     \Dots{}
12 :     \Arg{file}
13 :     \end{SYNOPSIS}
14 :     \begin{DESCRIPTION}
15 : jhr 1846 The \Prog{diderotc} command is used to compile Diderot programs.
16 : jhr 1684 \end{DESCRIPTION}
17 :     \begin{OPTIONS}
18 :     \begin{Flag}{\Opt{-h}, \Opt{--help}}
19 :     Display a list of command-line options and then exit.
20 : jhr 1846 This list includes additional options used to support development and debugging of
21 :     the compiler.
22 : jhr 1684 \end{Flag}
23 : jhr 1846 \begin{Flag}{\Opt{--exec}}
24 :     Compile the Diderot program to run as a standalone executable.
25 :     \end{Flag}
26 : jhr 1684 \begin{Flag}{\OptArg{-o}{ outfile}}
27 : jhr 1846 Use the name \Arg{outfile} as the stem for the generated code files.
28 :     When coupled with the \Opt{--exec} flag, \Arg{outfile} will be the name of
29 :     the executable.
30 :    
31 : jhr 1684 \end{Flag}
32 : jhr 1846 \begin{Flag}{\OptEqArg{--namespace}{prefix}}
33 :     Specify a namespace prefix for generated interface to the Diderot program.
34 :     The default namespace prefix is \texttt{Diderot}.
35 :     \end{Flag}
36 : jhr 1684 \begin{Flag}{\OptEqArg{--target}{tgt}}
37 :     Specifies the target platform for the generated code. The \Prog{diderotc} compiler
38 :     currently supports the following choices for \Arg{tgt}:
39 :     \begin{description}
40 :     \item[c] --- single-threaded sequential implementation
41 :     \item[pthread] --- parallel implementation for multiprocessors using pthreads
42 :     \item[cl] --- parallel implementation for GPUs using OpenCL
43 :     \end{description}%
44 :     \end{Flag}
45 : jhr 1846 \begin{Flag}{\Opt{--double}}
46 :     Use double-precision floating-point for the Diderot real type.
47 :     \end{Flag}
48 :     \begin{Flag}{\Opt{-g}, \Opt{--debug}}
49 :     Enable assertions and debugging information in the generated code and runtime system.
50 :     \end{Flag}
51 :     \begin{Flag}{\Opt{--log}}
52 :     Emit a log file of the compiler's intermediate representations.
53 :     This option is mainly used to debug the compiler.
54 :     \end{Flag}
55 : jhr 1684 \end{OPTIONS}%
56 :     \begin{SECTION}{RUNTIME OPTIONS}
57 : jhr 1846 The executables produced by the compiler when using the \Opt{--exec} option recognize
58 :     a number of options.
59 : jhr 1684 \end{SECTION}
60 :     \end{ManPage}%

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