Skip to content

Commit

Permalink
O2 is disabled as it makes no meaningful difference
Browse files Browse the repository at this point in the history
  • Loading branch information
octu0 committed Nov 17, 2021
1 parent 5ea8059 commit 2e0f975
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/genrun/benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

func benchmarkAction(c *cli.Context) error {
runtimePath := c.String("runtime")
useBenchmarkOpt()
//useBenchmarkOpt()
generateOutFilePath, err := generateWithBenchmark(runtimePath, c.String("file"))
if err != nil {
return err
Expand Down
4 changes: 2 additions & 2 deletions docker-entrypoint.generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exec 2>&1
cd /out

# build main
clang++ -g -O2 \
clang++ -g \
-I/halide/Halide-Runtime/include -I/halide/Halide-Runtime/share/Halide/tools \
-L/halide/Halide-Runtime/lib -lHalide `libpng-config --cflags --ldflags` -ljpeg -lpthread -ldl -std=c++11 \
/app/blurry.cpp \
Expand All @@ -17,7 +17,7 @@ clang++ -g -O2 \
LD_LIBRARY_PATH=/halide/Halide-Runtime/lib ./blurry.out

# build runtime
clang++ -g -O2 \
clang++ -g \
-I/halide/Halide-Runtime/include -I/halide/Halide-Runtime/share/Halide/tools \
-L/halide/Halide-Runtime/lib -lHalide `libpng-config --cflags --ldflags` -ljpeg -lpthread -ldl -std=c++11 \
/app/generator.cpp /halide/Halide-Runtime/share/Halide/tools/GenGen.cpp \
Expand Down

0 comments on commit 2e0f975

Please sign in to comment.