Skip to content

Commit

Permalink
Misc improvements to inlining evaluation docs in demo (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
boomanaiden154 authored Apr 9, 2024
1 parent df227b5 commit 41dfda9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/inlining-demo/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,15 +332,14 @@ size under the trained policy at `$OUTPUT_PERFORMANCE_PATH`.

```shell
export OUTPUT_PERFORMANCE_PATH=$HOME/performance_report && \
PYTHONPATH=$PYTHONPATH:. && \
python3 compiler_opt/tools/generate_default_trace.py \
PYTHONPATH=$PYTHONPATH:. python3 \
compiler_opt/tools/generate_default_trace.py \
--data_path=$CORPUS \
--policy_path=$OUTPUT_DIR/saved_policy \
--output_performance_path=$OUTPUT_PERFORMANCE_PATH \
--compile_task=inlining \
--gin_files=compiler_opt/rl/inlining/gin_configs/common.gin \
--gin_bindings=clang_path="'$LLVM_INSTALLDIR/bin/clang'" \
--gin_bindings=llvm_size_path"'=$LLVM_INSTALLDIR/bin/llvm-size'" \
--gin_bindings=llvm_size_path="'$LLVM_INSTALLDIR/bin/llvm-size'" \
--sampling_rate=0.2
```

Expand Down

0 comments on commit 41dfda9

Please sign in to comment.