12 |
\Arg{file} |
\Arg{file} |
13 |
\end{SYNOPSIS} |
\end{SYNOPSIS} |
14 |
\begin{DESCRIPTION} |
\begin{DESCRIPTION} |
15 |
The \Prog{diderotc} command is used to compile and link Diderot programs. |
The \Prog{diderotc} command is used to compile Diderot programs. |
16 |
\end{DESCRIPTION} |
\end{DESCRIPTION} |
17 |
\begin{OPTIONS} |
\begin{OPTIONS} |
18 |
\begin{Flag}{\Opt{-h}, \Opt{--help}} |
\begin{Flag}{\Opt{-h}, \Opt{--help}} |
19 |
Display a list of command-line options and then exit. |
Display a list of command-line options and then exit. |
20 |
|
This list includes additional options used to support development and debugging of |
21 |
|
the compiler. |
22 |
|
\end{Flag} |
23 |
|
\begin{Flag}{\Opt{--exec}} |
24 |
|
Compile the Diderot program to run as a standalone executable. |
25 |
\end{Flag} |
\end{Flag} |
26 |
\begin{Flag}{\OptArg{-o}{ outfile}} |
\begin{Flag}{\OptArg{-o}{ outfile}} |
27 |
Create an executable named \Arg{outfile}. |
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 |
|
\end{Flag} |
32 |
|
\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} |
\end{Flag} |
36 |
\begin{Flag}{\OptEqArg{--target}{tgt}} |
\begin{Flag}{\OptEqArg{--target}{tgt}} |
37 |
Specifies the target platform for the generated code. The \Prog{diderotc} compiler |
Specifies the target platform for the generated code. The \Prog{diderotc} compiler |
42 |
\item[cl] --- parallel implementation for GPUs using OpenCL |
\item[cl] --- parallel implementation for GPUs using OpenCL |
43 |
\end{description}% |
\end{description}% |
44 |
\end{Flag} |
\end{Flag} |
45 |
|
\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 |
\end{OPTIONS}% |
\end{OPTIONS}% |
56 |
\begin{SECTION}{RUNTIME OPTIONS} |
\begin{SECTION}{RUNTIME OPTIONS} |
57 |
The Diderot runtime system recognizes a number of standard options. |
The executables produced by the compiler when using the \Opt{--exec} option recognize |
58 |
|
a number of options. |
59 |
\end{SECTION} |
\end{SECTION} |
60 |
\end{ManPage}% |
\end{ManPage}% |