diff options
66 files changed, 588 insertions, 100 deletions
| @@ -1,13 +1,51 @@ | |||
| 1 | 1 | ||
| 2 | case-study: | 2 | case-study: |
| 3 | sed -i "s/LITMUS 0/LITMUS 1/g" extra.h | 3 | sed -i "s/LITMUS 0/LITMUS 1/g" extra.h |
| 4 | $(MAKE) -C baseline all | 4 | #$(MAKE) -C baseline all |
| 5 | $(MAKE) -C dis baseline | 5 | #$(MAKE) -C dis baseline |
| 6 | $(MAKE) -C SD-VBS/benchmarks compile | 6 | $(MAKE) -C SD-VBS/benchmarks compile |
| 7 | 7 | ||
| 8 | benchmarks: | 8 | benchmarks: |
| 9 | sed -i "s/LITMUS 1/LITMUS 0/g" extra.h | 9 | sed -i "s/LITMUS 0/LITMUS 1/g" extra.h |
| 10 | $(MAKE) -C baseline all | 10 | # $(MAKE) -C baseline all |
| 11 | $(MAKE) -C all_pairs all | 11 | #$(MAKE) -C all_pairs all |
| 12 | $(MAKE) -C dis pairs | 12 | #$(MAKE) -C dis pairs |
| 13 | $(MAKE) -C SD-VBS/benchmarks CFLAGS=-DPAIRED compile | ||
| 14 | # $(MAKE) -C SD-VBS/benchmarks compile | ||
| 15 | |||
| 16 | |||
| 17 | benches := svm mser sift texture_synthesis tracking disparity localization multi_ncut stitch | ||
| 18 | bench_path := SD-VBS/benchmarks | ||
| 19 | dag_path := SD-VBS/dag_binaries | ||
| 20 | single_suffix := _qcif_single | ||
| 21 | pair_suffix := _qcif_pair | ||
| 22 | |||
| 23 | single_suffix_no := _qcif_single_no_litmus | ||
| 24 | pair_suffix_no := _qcif_pair_no_litmus | ||
| 25 | |||
| 26 | dag-case-study: | ||
| 27 | sudo mkdir -p SD-VBS/dag_binaries | ||
| 28 | sudo sed -i "s/LITMUS 0/LITMUS 1/g" extra.h | ||
| 29 | $(MAKE) -C SD-VBS/benchmarks compile | ||
| 30 | @for v in $(benches) ; do \ | ||
| 31 | # echo "$(dag_path)/$$v""$(single_suffix)"; \ | ||
| 32 | sudo cp $(bench_path)/$$v/data/qcif/$$v "$(dag_path)/$$v""$(single_suffix)"; \ | ||
| 33 | done | ||
| 34 | $(MAKE) -C SD-VBS/benchmarks CFLAGS=-DPAIRED compile | ||
| 35 | @for v in $(benches) ; do \ | ||
| 36 | # echo "$(dag_path)/$$v""$(pair_suffix)"; \ | ||
| 37 | sudo cp $(bench_path)/$$v/data/qcif/$$v "$(dag_path)/$$v""$(pair_suffix)"; \ | ||
| 38 | done | ||
| 39 | |||
| 40 | |||
| 41 | sudo sed -i "s/LITMUS 1/LITMUS 0/g" extra.h | ||
| 42 | $(MAKE) -C SD-VBS/benchmarks compile | ||
| 43 | @for v in $(benches) ; do \ | ||
| 44 | # echo "$(dag_path)/$$v""$(single_suffix)"; \ | ||
| 45 | sudo cp $(bench_path)/$$v/data/qcif/$$v "$(dag_path)/$$v""$(single_suffix_no)"; \ | ||
| 46 | done | ||
| 13 | $(MAKE) -C SD-VBS/benchmarks CFLAGS=-DPAIRED compile | 47 | $(MAKE) -C SD-VBS/benchmarks CFLAGS=-DPAIRED compile |
| 48 | @for v in $(benches) ; do \ | ||
| 49 | # echo "$(dag_path)/$$v""$(pair_suffix)"; \ | ||
| 50 | sudo cp $(bench_path)/$$v/data/qcif/$$v "$(dag_path)/$$v""$(pair_suffix_no)"; \ | ||
| 51 | done | ||
diff --git a/SD-VBS/common/makefiles/Makefile.common b/SD-VBS/common/makefiles/Makefile.common index ab3a6b4..15f4f56 100644 --- a/SD-VBS/common/makefiles/Makefile.common +++ b/SD-VBS/common/makefiles/Makefile.common | |||
| @@ -29,7 +29,7 @@ PRELOAD_TIMES_DIR := $(TOP_DIR)/preload-times/$(BMARK) | |||
| 29 | MTIMING_DIR := $(TOP_DIR)/cycles/$(BMARK) | 29 | MTIMING_DIR := $(TOP_DIR)/cycles/$(BMARK) |
| 30 | BMARK_DIR := $(TOP_DIR)/benchmarks/$(BMARK) | 30 | BMARK_DIR := $(TOP_DIR)/benchmarks/$(BMARK) |
| 31 | TOOL_DIR := $(TOP_DIR)/tools | 31 | TOOL_DIR := $(TOP_DIR)/tools |
| 32 | LIBLITMUS ?= /playpen/mc2/liblitmus | 32 | LIBLITMUS ?= /home/ae/liblitmus |
| 33 | ifneq ($(shell grep "define LITMUS 1" ${TOP_DIR}/../extra.h),) | 33 | ifneq ($(shell grep "define LITMUS 1" ${TOP_DIR}/../extra.h),) |
| 34 | override CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include | 34 | override CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include |
| 35 | override LDFLAGS += -L${LIBLITMUS} -llitmus | 35 | override LDFLAGS += -L${LIBLITMUS} -llitmus |
diff --git a/SD-VBS/dag_binaries/disparity_qcif_pair b/SD-VBS/dag_binaries/disparity_qcif_pair new file mode 100755 index 0000000..d7a274d --- /dev/null +++ b/SD-VBS/dag_binaries/disparity_qcif_pair | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/disparity_qcif_pair_no_litmus b/SD-VBS/dag_binaries/disparity_qcif_pair_no_litmus new file mode 100755 index 0000000..2135b21 --- /dev/null +++ b/SD-VBS/dag_binaries/disparity_qcif_pair_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/disparity_qcif_single b/SD-VBS/dag_binaries/disparity_qcif_single new file mode 100755 index 0000000..bd992e0 --- /dev/null +++ b/SD-VBS/dag_binaries/disparity_qcif_single | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/disparity_qcif_single_no_litmus b/SD-VBS/dag_binaries/disparity_qcif_single_no_litmus new file mode 100755 index 0000000..29527db --- /dev/null +++ b/SD-VBS/dag_binaries/disparity_qcif_single_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/localization_qcif_pair b/SD-VBS/dag_binaries/localization_qcif_pair new file mode 100755 index 0000000..76e1604 --- /dev/null +++ b/SD-VBS/dag_binaries/localization_qcif_pair | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/localization_qcif_pair_no_litmus b/SD-VBS/dag_binaries/localization_qcif_pair_no_litmus new file mode 100755 index 0000000..5cefd67 --- /dev/null +++ b/SD-VBS/dag_binaries/localization_qcif_pair_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/localization_qcif_single b/SD-VBS/dag_binaries/localization_qcif_single new file mode 100755 index 0000000..bd6f7e3 --- /dev/null +++ b/SD-VBS/dag_binaries/localization_qcif_single | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/localization_qcif_single_no_litmus b/SD-VBS/dag_binaries/localization_qcif_single_no_litmus new file mode 100755 index 0000000..bfeed5a --- /dev/null +++ b/SD-VBS/dag_binaries/localization_qcif_single_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/mser_qcif_pair b/SD-VBS/dag_binaries/mser_qcif_pair new file mode 100755 index 0000000..21e5bcb --- /dev/null +++ b/SD-VBS/dag_binaries/mser_qcif_pair | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/mser_qcif_pair_no_litmus b/SD-VBS/dag_binaries/mser_qcif_pair_no_litmus new file mode 100755 index 0000000..d571f3c --- /dev/null +++ b/SD-VBS/dag_binaries/mser_qcif_pair_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/mser_qcif_single b/SD-VBS/dag_binaries/mser_qcif_single new file mode 100755 index 0000000..ae95654 --- /dev/null +++ b/SD-VBS/dag_binaries/mser_qcif_single | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/mser_qcif_single_no_litmus b/SD-VBS/dag_binaries/mser_qcif_single_no_litmus new file mode 100755 index 0000000..e9d9713 --- /dev/null +++ b/SD-VBS/dag_binaries/mser_qcif_single_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/multi_ncut_qcif_pair b/SD-VBS/dag_binaries/multi_ncut_qcif_pair new file mode 100755 index 0000000..dd6507d --- /dev/null +++ b/SD-VBS/dag_binaries/multi_ncut_qcif_pair | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/multi_ncut_qcif_pair_no_litmus b/SD-VBS/dag_binaries/multi_ncut_qcif_pair_no_litmus new file mode 100755 index 0000000..d3d9172 --- /dev/null +++ b/SD-VBS/dag_binaries/multi_ncut_qcif_pair_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/multi_ncut_qcif_single b/SD-VBS/dag_binaries/multi_ncut_qcif_single new file mode 100755 index 0000000..ff83ac5 --- /dev/null +++ b/SD-VBS/dag_binaries/multi_ncut_qcif_single | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/multi_ncut_qcif_single_no_litmus b/SD-VBS/dag_binaries/multi_ncut_qcif_single_no_litmus new file mode 100755 index 0000000..518b247 --- /dev/null +++ b/SD-VBS/dag_binaries/multi_ncut_qcif_single_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/sift_qcif_pair b/SD-VBS/dag_binaries/sift_qcif_pair new file mode 100755 index 0000000..9ed7780 --- /dev/null +++ b/SD-VBS/dag_binaries/sift_qcif_pair | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/sift_qcif_pair_no_litmus b/SD-VBS/dag_binaries/sift_qcif_pair_no_litmus new file mode 100755 index 0000000..9cc110c --- /dev/null +++ b/SD-VBS/dag_binaries/sift_qcif_pair_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/sift_qcif_single b/SD-VBS/dag_binaries/sift_qcif_single new file mode 100755 index 0000000..79fbd60 --- /dev/null +++ b/SD-VBS/dag_binaries/sift_qcif_single | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/sift_qcif_single_no_litmus b/SD-VBS/dag_binaries/sift_qcif_single_no_litmus new file mode 100755 index 0000000..12493bc --- /dev/null +++ b/SD-VBS/dag_binaries/sift_qcif_single_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/stitch_qcif_pair b/SD-VBS/dag_binaries/stitch_qcif_pair new file mode 100755 index 0000000..7f2e406 --- /dev/null +++ b/SD-VBS/dag_binaries/stitch_qcif_pair | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/stitch_qcif_pair_no_litmus b/SD-VBS/dag_binaries/stitch_qcif_pair_no_litmus new file mode 100755 index 0000000..5051dff --- /dev/null +++ b/SD-VBS/dag_binaries/stitch_qcif_pair_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/stitch_qcif_single b/SD-VBS/dag_binaries/stitch_qcif_single new file mode 100755 index 0000000..54a33cd --- /dev/null +++ b/SD-VBS/dag_binaries/stitch_qcif_single | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/stitch_qcif_single_no_litmus b/SD-VBS/dag_binaries/stitch_qcif_single_no_litmus new file mode 100755 index 0000000..6a0d971 --- /dev/null +++ b/SD-VBS/dag_binaries/stitch_qcif_single_no_litmus | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/svm_qcif_pair b/SD-VBS/dag_binaries/svm_qcif_pair new file mode 100755 index 0000000..0f421f1 --- /dev/null +++ b/SD-VBS/dag_binaries/svm_qcif_pair | |||
| Binary files differ | |||
diff --git a/SD-VBS/dag_binaries/svm_qcif_pair_no_litmus b/SD-VBS/dag_binaries/svm_qcif_pair_no_litmus new file mode 100755 index 0000000..d2f0555 --- /dev/null +++ b/SD-VBS/dag_binaries/svm_qcif_pair_no_litmus | |||
| Binary files differ | |||
