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/test/1.bmp | Bin 0 -> 198 bytes SD-VBS/benchmarks/stitch/data/test/2.bmp | Bin 0 -> 198 bytes SD-VBS/benchmarks/stitch/data/test/Makefile | 6 ++++++ SD-VBS/benchmarks/stitch/data/test/expected.m | 1 + SD-VBS/benchmarks/stitch/data/test/expected_C.txt | 4 ++++ 5 files changed, 11 insertions(+) create mode 100644 SD-VBS/benchmarks/stitch/data/test/1.bmp create mode 100644 SD-VBS/benchmarks/stitch/data/test/2.bmp create mode 100644 SD-VBS/benchmarks/stitch/data/test/Makefile create mode 100644 SD-VBS/benchmarks/stitch/data/test/expected.m create mode 100644 SD-VBS/benchmarks/stitch/data/test/expected_C.txt (limited to 'SD-VBS/benchmarks/stitch/data/test') diff --git a/SD-VBS/benchmarks/stitch/data/test/1.bmp b/SD-VBS/benchmarks/stitch/data/test/1.bmp new file mode 100644 index 0000000..900ebaa Binary files /dev/null and b/SD-VBS/benchmarks/stitch/data/test/1.bmp differ diff --git a/SD-VBS/benchmarks/stitch/data/test/2.bmp b/SD-VBS/benchmarks/stitch/data/test/2.bmp new file mode 100644 index 0000000..b6fd176 Binary files /dev/null and b/SD-VBS/benchmarks/stitch/data/test/2.bmp differ diff --git a/SD-VBS/benchmarks/stitch/data/test/Makefile b/SD-VBS/benchmarks/stitch/data/test/Makefile new file mode 100644 index 0000000..ddbfe5c --- /dev/null +++ b/SD-VBS/benchmarks/stitch/data/test/Makefile @@ -0,0 +1,6 @@ +INPUT=test +include ../../../../common/makefiles/Makefile.include + +BMARK=stitch +include $(MAKEFILE_COMMON_DIR)/Makefile.common + diff --git a/SD-VBS/benchmarks/stitch/data/test/expected.m b/SD-VBS/benchmarks/stitch/data/test/expected.m new file mode 100644 index 0000000..4870e84 --- /dev/null +++ b/SD-VBS/benchmarks/stitch/data/test/expected.m @@ -0,0 +1 @@ +-2.000000 -2.000000 diff --git a/SD-VBS/benchmarks/stitch/data/test/expected_C.txt b/SD-VBS/benchmarks/stitch/data/test/expected_C.txt new file mode 100644 index 0000000..53cf032 --- /dev/null +++ b/SD-VBS/benchmarks/stitch/data/test/expected_C.txt @@ -0,0 +1,4 @@ +-3.000000 -3.000000 +-3.000000 -3.000000 +-3.000000 -3.000000 +-3.000000 -3.000000 -- cgit v1.2.2