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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2659 - (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 1934 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 1934 This list includes additional options used to support development and debugging of
21 :     the compiler.
22 : jhr 1684 \end{Flag}
23 : jhr 1934 \begin{Flag}{\Opt{--exec}}
24 :     Compile the Diderot program to run as a standalone executable.
25 :     \end{Flag}
26 : jhr 2659 \begin{Flag}{\OptArg{-o}{ outfile}, \OptEqArg{--output}{outfile}}
27 : jhr 1934 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 : jhr 1684 \end{Flag}
31 : jhr 1934 \begin{Flag}{\OptEqArg{--namespace}{prefix}}
32 :     Specify a namespace prefix for generated interface to the Diderot program.
33 :     The default namespace prefix is \texttt{Diderot}.
34 :     \end{Flag}
35 : jhr 1684 \begin{Flag}{\OptEqArg{--target}{tgt}}
36 :     Specifies the target platform for the generated code. The \Prog{diderotc} compiler
37 :     currently supports the following choices for \Arg{tgt}:
38 :     \begin{description}
39 :     \item[c] --- single-threaded sequential implementation
40 :     \item[pthread] --- parallel implementation for multiprocessors using pthreads
41 :     \item[cl] --- parallel implementation for GPUs using OpenCL
42 :     \end{description}%
43 :     \end{Flag}
44 : jhr 1934 \begin{Flag}{\Opt{--double}}
45 :     Use double-precision floating-point for the Diderot real type.
46 :     \end{Flag}
47 :     \begin{Flag}{\Opt{-g}, \Opt{--debug}}
48 :     Enable assertions and debugging information in the generated code and runtime system.
49 :     \end{Flag}
50 :     \begin{Flag}{\Opt{--log}}
51 :     Emit a log file of the compiler's intermediate representations.
52 :     This option is mainly used to debug the compiler.
53 :     \end{Flag}
54 : jhr 1684 \end{OPTIONS}%
55 :     \begin{SECTION}{RUNTIME OPTIONS}
56 : jhr 1934 The executables produced by the compiler when using the \Opt{--exec} option recognize
57 :     a number of options.
58 : jhr 2659 These include options to specify the values of input variables and the following standard
59 :     options:
60 :     \begin{OptionList}
61 :     \begin{Flag}{\Opt{-verbose}}
62 :     Enables runtime-system messages, which are printed to \texttt{stderr}.
63 :     \end{Flag}
64 :     \begin{Flag}{\Opt{-timing}}
65 :     Enables execution timing; the timing results are printed to \texttt{stdout}, unless
66 :     the \Opt{-verbose} option is specified, in which case they are printed to \texttt{stderr}.
67 :     \end{Flag}
68 :     \end{OptionList}%
69 : jhr 1684 \end{SECTION}
70 :     \end{ManPage}%

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