From 0da35d673e1c1717821f724d8fb00379477b65be Mon Sep 17 00:00:00 2001 From: leochanj105 Date: Thu, 21 Oct 2021 19:20:36 -0400 Subject: dag case study scripts --- Makefile | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a473a20..9205e0b 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,26 @@ case-study: benchmarks: sed -i "s/LITMUS 1/LITMUS 0/g" extra.h - $(MAKE) -C baseline all - $(MAKE) -C all_pairs all - $(MAKE) -C dis pairs + #$(MAKE) -C baseline all + #$(MAKE) -C all_pairs all + #$(MAKE) -C dis pairs + $(MAKE) -C SD-VBS/benchmarks CFLAGS=-DPAIRED compile + + +benches := svm mser sift texture_synthesis tracking disparity localization multi_ncut stitch +bench_path := SD-VBS/benchmarks +dag_path := SD-VBS/dag_binaries +single_suffix := _qcif_single +pair_suffix := _qcif_pair +dag-case-study: + sed -i "s/LITMUS 0/LITMUS 1/g" extra.h + $(MAKE) -C SD-VBS/benchmarks compile + @for v in $(benches) ; do \ + # echo "$(dag_path)/$$v""$(single_suffix)"; \ + sudo cp $(bench_path)/$$v/data/qcif/$$v "$(dag_path)/$$v""$(single_suffix)"; \ + done $(MAKE) -C SD-VBS/benchmarks CFLAGS=-DPAIRED compile + @for v in $(benches) ; do \ + # echo "$(dag_path)/$$v""$(pair_suffix)"; \ + sudo cp $(bench_path)/$$v/data/qcif/$$v "$(dag_path)/$$v""$(pair_suffix)"; \ + done -- cgit v1.2.2