From d17b33131c14864bd1eae275f49a3f148e21cf29 Mon Sep 17 00:00:00 2001 From: Leo Chan Date: Thu, 22 Oct 2020 01:53:21 -0400 Subject: Squashed commit of the sb-vbs branch. Includes the SD-VBS benchmarks modified to: - Use libextra to loop as realtime jobs - Preallocate memory before starting their main computation - Accept input via stdin instead of via argc Does not include the SD-VBS matlab code. Fixes libextra execution in LITMUS^RT. --- SD-VBS/benchmarks/stitch/data/sim_fast/1.bmp | Bin 0 -> 378 bytes SD-VBS/benchmarks/stitch/data/sim_fast/2.bmp | Bin 0 -> 378 bytes SD-VBS/benchmarks/stitch/data/sim_fast/Makefile | 6 ++++++ SD-VBS/benchmarks/stitch/data/sim_fast/expected.m | 1 + SD-VBS/benchmarks/stitch/data/sim_fast/expected_C.txt | 6 ++++++ 5 files changed, 13 insertions(+) create mode 100644 SD-VBS/benchmarks/stitch/data/sim_fast/1.bmp create mode 100644 SD-VBS/benchmarks/stitch/data/sim_fast/2.bmp create mode 100644 SD-VBS/benchmarks/stitch/data/sim_fast/Makefile create mode 100644 SD-VBS/benchmarks/stitch/data/sim_fast/expected.m create mode 100644 SD-VBS/benchmarks/stitch/data/sim_fast/expected_C.txt (limited to 'SD-VBS/benchmarks/stitch/data/sim_fast') diff --git a/SD-VBS/benchmarks/stitch/data/sim_fast/1.bmp b/SD-VBS/benchmarks/stitch/data/sim_fast/1.bmp new file mode 100644 index 0000000..251de9b Binary files /dev/null and b/SD-VBS/benchmarks/stitch/data/sim_fast/1.bmp differ diff --git a/SD-VBS/benchmarks/stitch/data/sim_fast/2.bmp b/SD-VBS/benchmarks/stitch/data/sim_fast/2.bmp new file mode 100644 index 0000000..1c061bb Binary files /dev/null and b/SD-VBS/benchmarks/stitch/data/sim_fast/2.bmp differ diff --git a/SD-VBS/benchmarks/stitch/data/sim_fast/Makefile b/SD-VBS/benchmarks/stitch/data/sim_fast/Makefile new file mode 100644 index 0000000..455323f --- /dev/null +++ b/SD-VBS/benchmarks/stitch/data/sim_fast/Makefile @@ -0,0 +1,6 @@ +INPUT=sim_fast +include ../../../../common/makefiles/Makefile.include + +BMARK=stitch +include $(MAKEFILE_COMMON_DIR)/Makefile.common + diff --git a/SD-VBS/benchmarks/stitch/data/sim_fast/expected.m b/SD-VBS/benchmarks/stitch/data/sim_fast/expected.m new file mode 100644 index 0000000..68a7208 --- /dev/null +++ b/SD-VBS/benchmarks/stitch/data/sim_fast/expected.m @@ -0,0 +1 @@ +-1.000000 -2.000000 diff --git a/SD-VBS/benchmarks/stitch/data/sim_fast/expected_C.txt b/SD-VBS/benchmarks/stitch/data/sim_fast/expected_C.txt new file mode 100644 index 0000000..9fcae00 --- /dev/null +++ b/SD-VBS/benchmarks/stitch/data/sim_fast/expected_C.txt @@ -0,0 +1,6 @@ +-2.000000 -3.000000 +-2.000000 -3.000000 +-2.000000 -3.000000 +-2.000000 -3.000000 +-2.000000 -3.000000 +-2.000000 -3.000000 -- cgit v1.2.2