Skip to content

Commit

Permalink
bin -> lib in tutorials
Browse files Browse the repository at this point in the history
abadams committed Sep 13, 2020
1 parent 18197a0 commit 26bf23e
Showing 22 changed files with 82 additions and 82 deletions.
8 changes: 4 additions & 4 deletions tutorial/lesson_01_basics.cpp
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@
// This lesson demonstrates basic usage of Halide as a JIT compiler for imaging.

// On linux, you can compile and run it like so:
// g++ lesson_01*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_01 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_01
// g++ lesson_01*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_01 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_01

// On os x:
// g++ lesson_01*.cpp -g -I ../include -L ../bin -lHalide -o lesson_01 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_01
// g++ lesson_01*.cpp -g -I ../include -L ../lib -lHalide -o lesson_01 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_01

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_02_input_image.cpp
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@
// them.

// On linux, you can compile and run it like so:
// g++ lesson_02*.cpp -g -I ../include -I ../tools -L ../bin -lHalide `libpng-config --cflags --ldflags` -ljpeg -lpthread -ldl -o lesson_02 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_02
// g++ lesson_02*.cpp -g -I ../include -I ../tools -L ../lib -lHalide `libpng-config --cflags --ldflags` -ljpeg -lpthread -ldl -o lesson_02 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_02

// On os x:
// g++ lesson_02*.cpp -g -I ../include -I ../tools -L ../bin -lHalide `libpng-config --cflags --ldflags` -ljpeg -o lesson_02 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_02
// g++ lesson_02*.cpp -g -I ../include -I ../tools -L ../lib -lHalide `libpng-config --cflags --ldflags` -ljpeg -o lesson_02 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_02

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_03_debugging_1.cpp
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@
// This lesson demonstrates how to inspect what the Halide compiler is producing.

// On linux, you can compile and run it like so:
// g++ lesson_03*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_03 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_03
// g++ lesson_03*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_03 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_03

// On os x:
// g++ lesson_03*.cpp -g -I ../include -L ../bin -lHalide -o lesson_03 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_03
// g++ lesson_03*.cpp -g -I ../include -L ../lib -lHalide -o lesson_03 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_03

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_04_debugging_2.cpp
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@
// This lesson demonstrates how to follow what Halide is doing at runtime.

// On linux, you can compile and run it like so:
// g++ lesson_04*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_04 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_04
// g++ lesson_04*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_04 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_04

// On os x:
// g++ lesson_04*.cpp -g -I ../include -L ../bin -lHalide -o lesson_04 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_04
// g++ lesson_04*.cpp -g -I ../include -L ../lib -lHalide -o lesson_04 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_04

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_05_scheduling_1.cpp
Original file line number Diff line number Diff line change
@@ -5,12 +5,12 @@
// parallelization, unrolling, and tiling.

// On linux, you can compile and run it like so:
// g++ lesson_05*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_05 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_05
// g++ lesson_05*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_05 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_05

// On os x:
// g++ lesson_05*.cpp -g -I ../include -L ../bin -lHalide -o lesson_05 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_05
// g++ lesson_05*.cpp -g -I ../include -L ../lib -lHalide -o lesson_05 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_05

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_06_realizing_over_shifted_domains.cpp
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@
// does not start at (0, 0).

// On linux, you can compile and run it like so:
// g++ lesson_06*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_06 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_06
// g++ lesson_06*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_06 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_06

// On os x:
// g++ lesson_06*.cpp -g -I ../include -L ../bin -lHalide -o lesson_06 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_06
// g++ lesson_06*.cpp -g -I ../include -L ../lib -lHalide -o lesson_06 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_06

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_07_multi_stage_pipelines.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Halide tutorial lesson 7: Multi-stage pipelines

// On linux, you can compile and run it like so:
// g++ lesson_07*.cpp -g -std=c++11 -I ../include -I ../tools -L ../bin -lHalide `libpng-config --cflags --ldflags` -ljpeg -lpthread -ldl -o lesson_07
// LD_LIBRARY_PATH=../bin ./lesson_07
// g++ lesson_07*.cpp -g -std=c++11 -I ../include -I ../tools -L ../lib -lHalide `libpng-config --cflags --ldflags` -ljpeg -lpthread -ldl -o lesson_07
// LD_LIBRARY_PATH=../lib ./lesson_07

// On os x:
// g++ lesson_07*.cpp -g -std=c++11 -I ../include -I ../tools -L ../bin -lHalide `libpng-config --cflags --ldflags` -ljpeg -o lesson_07
// DYLD_LIBRARY_PATH=../bin ./lesson_07
// g++ lesson_07*.cpp -g -std=c++11 -I ../include -I ../tools -L ../lib -lHalide `libpng-config --cflags --ldflags` -ljpeg -o lesson_07
// DYLD_LIBRARY_PATH=../lib ./lesson_07

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_08_scheduling_2.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Halide tutorial lesson 8: Scheduling multi-stage pipelines

// On linux, you can compile and run it like so:
// g++ lesson_08*.cpp -g -std=c++11 -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_08
// LD_LIBRARY_PATH=../bin ./lesson_08
// g++ lesson_08*.cpp -g -std=c++11 -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_08
// LD_LIBRARY_PATH=../lib ./lesson_08

// On os x:
// g++ lesson_08*.cpp -g -std=c++11 -I ../include -L ../bin -lHalide -o lesson_08
// DYLD_LIBRARY_PATH=../bin ./lesson_08
// g++ lesson_08*.cpp -g -std=c++11 -I ../include -L ../lib -lHalide -o lesson_08
// DYLD_LIBRARY_PATH=../lib ./lesson_08

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_09_update_definitions.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Halide tutorial lesson 9: Multi-pass Funcs, update definitions, and reductions

// On linux, you can compile and run it like so:
// g++ lesson_09*.cpp -g -std=c++11 -I ../include -I ../tools -L ../bin -lHalide `libpng-config --cflags --ldflags` -ljpeg -lpthread -ldl -fopenmp -o lesson_09
// LD_LIBRARY_PATH=../bin ./lesson_09
// g++ lesson_09*.cpp -g -std=c++11 -I ../include -I ../tools -L ../lib -lHalide `libpng-config --cflags --ldflags` -ljpeg -lpthread -ldl -fopenmp -o lesson_09
// LD_LIBRARY_PATH=../lib ./lesson_09

// On os x (will only work if you actually have g++, not Apple's pretend g++ which is actually clang):
// g++ lesson_09*.cpp -g -std=c++11 -I ../include -I ../tools -L ../bin -lHalide `libpng-config --cflags --ldflags` -ljpeg -fopenmp -o lesson_09
// DYLD_LIBRARY_PATH=../bin ./lesson_09
// g++ lesson_09*.cpp -g -std=c++11 -I ../include -I ../tools -L ../lib -lHalide `libpng-config --cflags --ldflags` -ljpeg -fopenmp -o lesson_09
// DYLD_LIBRARY_PATH=../lib ./lesson_09

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_10_aot_compilation_generate.cpp
Original file line number Diff line number Diff line change
@@ -10,14 +10,14 @@
// compiling this code is a multi-step process.

// On linux, you can compile and run it like so:
// g++ lesson_10*generate.cpp -g -std=c++11 -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_10_generate
// LD_LIBRARY_PATH=../bin ./lesson_10_generate
// g++ lesson_10*generate.cpp -g -std=c++11 -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_10_generate
// LD_LIBRARY_PATH=../lib ./lesson_10_generate
// g++ lesson_10*run.cpp lesson_10_halide.a -std=c++11 -I ../include -lpthread -ldl -o lesson_10_run
// ./lesson_10_run

// On os x:
// g++ lesson_10*generate.cpp -g -std=c++11 -I ../include -L ../bin -lHalide -o lesson_10_generate
// DYLD_LIBRARY_PATH=../bin ./lesson_10_generate
// g++ lesson_10*generate.cpp -g -std=c++11 -I ../include -L ../lib -lHalide -o lesson_10_generate
// DYLD_LIBRARY_PATH=../lib ./lesson_10_generate
// g++ lesson_10*run.cpp lesson_10_halide.a -o lesson_10_run -I ../include
// ./lesson_10_run

8 changes: 4 additions & 4 deletions tutorial/lesson_11_cross_compilation.cpp
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@
// generate code for any platform from any platform.

// On linux, you can compile and run it like so:
// g++ lesson_11*.cpp -g -std=c++11 -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_11
// LD_LIBRARY_PATH=../bin ./lesson_11
// g++ lesson_11*.cpp -g -std=c++11 -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_11
// LD_LIBRARY_PATH=../lib ./lesson_11

// On os x:
// g++ lesson_11*.cpp -g -std=c++11 -I ../include -L ../bin -lHalide -o lesson_11
// DYLD_LIBRARY_PATH=../bin ./lesson_11
// g++ lesson_11*.cpp -g -std=c++11 -I ../include -L ../lib -lHalide -o lesson_11
// DYLD_LIBRARY_PATH=../lib ./lesson_11

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_12_using_the_gpu.cpp
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@
// This lesson demonstrates how to use Halide to run code on a GPU using OpenCL.

// On linux, you can compile and run it like so:
// g++ lesson_12*.cpp -g -std=c++11 -I ../include -I ../tools -L ../bin -lHalide `libpng-config --cflags --ldflags` -ljpeg -lpthread -ldl -o lesson_12
// LD_LIBRARY_PATH=../bin ./lesson_12
// g++ lesson_12*.cpp -g -std=c++11 -I ../include -I ../tools -L ../lib -lHalide `libpng-config --cflags --ldflags` -ljpeg -lpthread -ldl -o lesson_12
// LD_LIBRARY_PATH=../lib ./lesson_12

// On os x:
// g++ lesson_12*.cpp -g -std=c++11 -I ../include -I ../tools -L ../bin -lHalide `libpng-config --cflags --ldflags` -ljpeg -o lesson_12
// DYLD_LIBRARY_PATH=../bin ./lesson_12
// g++ lesson_12*.cpp -g -std=c++11 -I ../include -I ../tools -L ../lib -lHalide `libpng-config --cflags --ldflags` -ljpeg -o lesson_12
// DYLD_LIBRARY_PATH=../lib ./lesson_12

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_13_tuples.cpp
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@
// values.

// On linux, you can compile and run it like so:
// g++ lesson_13*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_13 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_13
// g++ lesson_13*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_13 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_13

// On os x:
// g++ lesson_13*.cpp -g -I ../include -L ../bin -lHalide -o lesson_13 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_13
// g++ lesson_13*.cpp -g -I ../include -L ../lib -lHalide -o lesson_13 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_13

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_14_types.cpp
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@
// This lesson more precisely describes Halide's type system.

// On linux, you can compile and run it like so:
// g++ lesson_14*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_14 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_14
// g++ lesson_14*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_14 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_14

// On os x:
// g++ lesson_14*.cpp -g -I ../include -L ../bin -lHalide -o lesson_14 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_14
// g++ lesson_14*.cpp -g -I ../include -L ../lib -lHalide -o lesson_14 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_14

// If you have the entire Halide source tree, you can also build it by
// running:
4 changes: 2 additions & 2 deletions tutorial/lesson_15_generators.cpp
Original file line number Diff line number Diff line change
@@ -4,11 +4,11 @@
// reusable components called generators.

// On linux, you can compile and run it like so:
// g++ lesson_15*.cpp ../tools/GenGen.cpp -g -std=c++11 -fno-rtti -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_15_generate
// g++ lesson_15*.cpp ../tools/GenGen.cpp -g -std=c++11 -fno-rtti -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_15_generate
// bash lesson_15_generators_usage.sh

// On os x:
// g++ lesson_15*.cpp ../tools/GenGen.cpp -g -std=c++11 -fno-rtti -I ../include -L ../bin -lHalide -o lesson_15_generate
// g++ lesson_15*.cpp ../tools/GenGen.cpp -g -std=c++11 -fno-rtti -I ../include -L ../lib -lHalide -o lesson_15_generate
// bash lesson_15_generators_usage.sh

// If you have the entire Halide source tree, you can also build it by
4 changes: 2 additions & 2 deletions tutorial/lesson_15_generators_usage.sh
Original file line number Diff line number Diff line change
@@ -37,8 +37,8 @@ check_symbol()
#set -e

# Set up LD_LIBRARY_PATH so that we can find libHalide.so
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:../bin
export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:../bin
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:../lib
export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:../lib

#########################
# Basic generator usage #
6 changes: 3 additions & 3 deletions tutorial/lesson_16_rgb_generate.cpp
Original file line number Diff line number Diff line change
@@ -6,9 +6,9 @@

// On linux or os x, you can compile and run it like so:

// g++ lesson_16_rgb_generate.cpp ../tools/GenGen.cpp -g -std=c++11 -fno-rtti -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_16_generate
// export LD_LIBRARY_PATH=../bin # For linux
// export DYLD_LIBRARY_PATH=../bin # For OS X
// g++ lesson_16_rgb_generate.cpp ../tools/GenGen.cpp -g -std=c++11 -fno-rtti -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_16_generate
// export LD_LIBRARY_PATH=../lib # For linux
// export DYLD_LIBRARY_PATH=../lib # For OS X
// ./lesson_16_generate -g brighten -o . -f brighten_planar target=host layout=planar
// ./lesson_16_generate -g brighten -o . -f brighten_interleaved target=host layout=interleaved
// ./lesson_16_generate -g brighten -o . -f brighten_either target=host layout=either
8 changes: 4 additions & 4 deletions tutorial/lesson_17_predicated_rdom.cpp
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@
// subsets of a reduction domain using predicates.

// On linux, you can compile and run it like so:
// g++ lesson_17*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_17 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_17
// g++ lesson_17*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_17 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_17

// On os x:
// g++ lesson_17*.cpp -g -I ../include -L ../bin -lHalide -o lesson_17 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_17
// g++ lesson_17*.cpp -g -I ../include -L ../lib -lHalide -o lesson_17 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_17

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_18_parallel_associative_reductions.cpp
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@
// reduction using the scheduling directive 'rfactor'.

// On linux, you can compile and run it like so:
// g++ lesson_18*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_18 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_18
// g++ lesson_18*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_18 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_18

// On os x:
// g++ lesson_18*.cpp -g -I ../include -L ../bin -lHalide -o lesson_18 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_18
// g++ lesson_18*.cpp -g -I ../include -L ../lib -lHalide -o lesson_18 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_18

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_19_wrapper_funcs.cpp
Original file line number Diff line number Diff line change
@@ -5,12 +5,12 @@
// from a Func or an ImageParam.

// On linux, you can compile and run it like so:
// g++ lesson_19*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_19 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_19
// g++ lesson_19*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_19 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_19

// On os x:
// g++ lesson_19*.cpp -g -I ../include -L ../bin -lHalide -o lesson_19 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_19
// g++ lesson_19*.cpp -g -I ../include -L ../lib -lHalide -o lesson_19 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_19

// If you have the entire Halide source tree, you can also build it by
// running:
8 changes: 4 additions & 4 deletions tutorial/lesson_20_cloning_funcs.cpp
Original file line number Diff line number Diff line change
@@ -4,12 +4,12 @@
// a Func.

// On linux, you can compile and run it like so:
// g++ lesson_20*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_20 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_20
// g++ lesson_20*.cpp -g -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_20 -std=c++11
// LD_LIBRARY_PATH=../lib ./lesson_20

// On os x:
// g++ lesson_20*.cpp -g -I ../include -L ../bin -lHalide -o lesson_20 -std=c++11
// DYLD_LIBRARY_PATH=../bin ./lesson_20
// g++ lesson_20*.cpp -g -I ../include -L ../lib -lHalide -o lesson_20 -std=c++11
// DYLD_LIBRARY_PATH=../lib ./lesson_20

// If you have the entire Halide source tree, you can also build it by
// running:
6 changes: 3 additions & 3 deletions tutorial/lesson_21_auto_scheduler_generate.cpp
Original file line number Diff line number Diff line change
@@ -7,9 +7,9 @@

// On linux or os x, you can compile and run it like so:

// g++ lesson_21_auto_scheduler_generate.cpp ../tools/GenGen.cpp -g -std=c++11 -fno-rtti -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_21_generate
// export LD_LIBRARY_PATH=../bin # For linux
// export DYLD_LIBRARY_PATH=../bin # For OS X
// g++ lesson_21_auto_scheduler_generate.cpp ../tools/GenGen.cpp -g -std=c++11 -fno-rtti -I ../include -L ../lib -lHalide -lpthread -ldl -o lesson_21_generate
// export LD_LIBRARY_PATH=../lib # For linux
// export DYLD_LIBRARY_PATH=../lib # For OS X
// ./lesson_21_generate -o . -g auto_schedule_gen -f auto_schedule_false -e static_library,h,schedule target=host auto_schedule=false
// ./lesson_21_generate -o . -g auto_schedule_gen -f auto_schedule_true -e static_library,h,schedule target=host auto_schedule=true machine_params=32,16777216,40
// g++ lesson_21_auto_scheduler_run.cpp -std=c++11 -I ../include -I ../tools auto_schedule_false.a auto_schedule_true.a -ldl -lpthread -o lesson_21_run

0 comments on commit 26bf23e

Please sign in to comment.