Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Document] Update halo options #334

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/halo_cl_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ Command line options of HALO:
| `--outputs=<name>` | Specify the output nodes. By default, HALO uses all the sink nodes as outputs. This option with `--inputs` can be used to compile a partial part of the computation. |
| `--fuse-conv-bias` | Specify to fuse convolution and bias. |
| `--fuse-matmul-bias` | Specify to fuse matmul and bias. |
| `--emit-obj` | Specify to emit binary object file. By default, it is implicitly enabled if the output file name is suffixed with `.o`. |
| `-I=<path>` | Specify the path of ODLA headers. It is needed when emitting binary object file. Without specifying the ODLA include directory, HALO fallsback to search in some predefined locations. |
| `--emit-lib` | Specify to emit shared library. By default, it is implicitly enabled if the output file name is suffixed with `.so`. Enabling this option also enables `--emit-obj`. |
| `-L=<path>` | Specify the path of ODLA runtime library. This value is used when emitting shared library. |
| `-link-odla-lib=<name>` | Specify the name of ODLA runtime library (e.g. `-link-odla-lib=odla_tensorrt`) used when emitting shared library. This option is optional. If specified, it links against the corresponding ODLA runtime library. |
| `--emit-value-reset` | Specify to emit `odla_ReleaseValue()` whenever an ODLA value is no longer needed under the interpreter mode. |
| `--emit-value-id-as-int` | Specify integer as ODLA value id. By default, HALO generates string-based value id. |
| `--emit-data-as-c` | Generate the weigths file as C file, instead of default ELF file. |
Expand Down