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/disparity/data/test/1.bmp | Bin 0 -> 454 bytes SD-VBS/benchmarks/disparity/data/test/2.bmp | Bin 0 -> 454 bytes SD-VBS/benchmarks/disparity/data/test/Makefile | 6 ++++++ SD-VBS/benchmarks/disparity/data/test/expected.m | 10 ++++++++++ SD-VBS/benchmarks/disparity/data/test/expected_C.txt | 10 ++++++++++ 5 files changed, 26 insertions(+) create mode 100644 SD-VBS/benchmarks/disparity/data/test/1.bmp create mode 100644 SD-VBS/benchmarks/disparity/data/test/2.bmp create mode 100644 SD-VBS/benchmarks/disparity/data/test/Makefile create mode 100644 SD-VBS/benchmarks/disparity/data/test/expected.m create mode 100644 SD-VBS/benchmarks/disparity/data/test/expected_C.txt (limited to 'SD-VBS/benchmarks/disparity/data/test') diff --git a/SD-VBS/benchmarks/disparity/data/test/1.bmp b/SD-VBS/benchmarks/disparity/data/test/1.bmp new file mode 100644 index 0000000..3da018c Binary files /dev/null and b/SD-VBS/benchmarks/disparity/data/test/1.bmp differ diff --git a/SD-VBS/benchmarks/disparity/data/test/2.bmp b/SD-VBS/benchmarks/disparity/data/test/2.bmp new file mode 100644 index 0000000..88b3918 Binary files /dev/null and b/SD-VBS/benchmarks/disparity/data/test/2.bmp differ diff --git a/SD-VBS/benchmarks/disparity/data/test/Makefile b/SD-VBS/benchmarks/disparity/data/test/Makefile new file mode 100644 index 0000000..06e43ae --- /dev/null +++ b/SD-VBS/benchmarks/disparity/data/test/Makefile @@ -0,0 +1,6 @@ +include ../../../../common/makefiles/Makefile.include + +BMARK=disparity +INPUT=test +include $(MAKEFILE_COMMON_DIR)/Makefile.common + diff --git a/SD-VBS/benchmarks/disparity/data/test/expected.m b/SD-VBS/benchmarks/disparity/data/test/expected.m new file mode 100644 index 0000000..9ddac84 --- /dev/null +++ b/SD-VBS/benchmarks/disparity/data/test/expected.m @@ -0,0 +1,10 @@ +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 diff --git a/SD-VBS/benchmarks/disparity/data/test/expected_C.txt b/SD-VBS/benchmarks/disparity/data/test/expected_C.txt new file mode 100644 index 0000000..9ddac84 --- /dev/null +++ b/SD-VBS/benchmarks/disparity/data/test/expected_C.txt @@ -0,0 +1,10 @@ +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 -- cgit v1.2.2