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/sift/data/qcif/1.bmp | Bin 0 -> 62262 bytes SD-VBS/benchmarks/sift/data/qcif/Makefile | 8 ++++++++ SD-VBS/benchmarks/sift/data/qcif/VBS_Ver1 | Bin 0 -> 97049 bytes SD-VBS/benchmarks/sift/data/qcif/expected.m | 3 +++ SD-VBS/benchmarks/sift/data/qcif/expected_C.txt | 3 +++ SD-VBS/benchmarks/sift/data/qcif/im1_qcif.tif | Bin 0 -> 76338 bytes 6 files changed, 14 insertions(+) create mode 100644 SD-VBS/benchmarks/sift/data/qcif/1.bmp create mode 100644 SD-VBS/benchmarks/sift/data/qcif/Makefile create mode 100755 SD-VBS/benchmarks/sift/data/qcif/VBS_Ver1 create mode 100644 SD-VBS/benchmarks/sift/data/qcif/expected.m create mode 100644 SD-VBS/benchmarks/sift/data/qcif/expected_C.txt create mode 100755 SD-VBS/benchmarks/sift/data/qcif/im1_qcif.tif (limited to 'SD-VBS/benchmarks/sift/data/qcif') diff --git a/SD-VBS/benchmarks/sift/data/qcif/1.bmp b/SD-VBS/benchmarks/sift/data/qcif/1.bmp new file mode 100644 index 0000000..4fdba98 Binary files /dev/null and b/SD-VBS/benchmarks/sift/data/qcif/1.bmp differ diff --git a/SD-VBS/benchmarks/sift/data/qcif/Makefile b/SD-VBS/benchmarks/sift/data/qcif/Makefile new file mode 100644 index 0000000..617e3c1 --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/qcif/Makefile @@ -0,0 +1,8 @@ +INPUT=qcif +include ../../../../common/makefiles/Makefile.include + +BMARK=sift +include $(MAKEFILE_COMMON_DIR)/Makefile.common + + + diff --git a/SD-VBS/benchmarks/sift/data/qcif/VBS_Ver1 b/SD-VBS/benchmarks/sift/data/qcif/VBS_Ver1 new file mode 100755 index 0000000..6e9d761 Binary files /dev/null and b/SD-VBS/benchmarks/sift/data/qcif/VBS_Ver1 differ diff --git a/SD-VBS/benchmarks/sift/data/qcif/expected.m b/SD-VBS/benchmarks/sift/data/qcif/expected.m new file mode 100644 index 0000000..265db16 --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/qcif/expected.m @@ -0,0 +1,3 @@ +136.999609 75.999406 83.999897 112.000750 119.999331 122.000419 132.000337 39.000010 51.001873 44.000020 61.999391 14.000416 25.000425 47.998145 33.000173 55.999848 20.001075 21.999253 53.998983 3.998740 4.999613 19.999868 43.000763 14.997708 15.002952 26.998145 19.002013 +113.000088 76.000660 129.999841 130.999945 109.999738 96.999934 132.000066 139.999331 15.000735 8.999283 17.000513 60.999702 14.000113 50.999175 36.999671 49.000425 52.000482 59.000256 20.997062 4.001153 67.001962 27.999830 31.000904 14.998128 26.998973 15.997683 21.000467 +0.000275 2.000956 2.000776 1.999298 1.999671 1.999964 2.002015 1.999710 0.000119 1.001356 0.997834 2.002273 2.001115 2.000370 0.001001 0.000664 0.999350 1.000703 1.000935 1.999379 2.004628 1.998750 2.002175 0.000899 0.002673 0.003054 0.999563 diff --git a/SD-VBS/benchmarks/sift/data/qcif/expected_C.txt b/SD-VBS/benchmarks/sift/data/qcif/expected_C.txt new file mode 100644 index 0000000..f330fc0 --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/qcif/expected_C.txt @@ -0,0 +1,3 @@ +136.999603 75.999405 83.999893 112.000748 119.999329 122.000420 132.000336 39.000011 51.001873 44.000019 61.999390 14.000417 25.000425 47.998146 33.000172 55.999847 20.001074 21.999252 53.998981 3.998740 4.999613 19.999868 43.000763 14.997708 15.002952 26.998144 19.002012 +113.000092 76.000664 129.999847 130.999939 109.999741 96.999931 132.000061 139.999329 15.000735 8.999284 17.000513 60.999702 14.000113 50.999176 36.999672 49.000423 52.000481 59.000256 20.997063 4.001153 67.001961 27.999830 31.000904 14.998128 26.998974 15.997683 21.000467 +0.000275 2.000956 2.000776 1.999298 1.999671 1.999964 2.002015 1.999710 0.000119 1.001356 0.997834 2.002273 2.001115 2.000370 0.001001 0.000664 0.999350 1.000703 1.000935 1.999379 2.004628 1.998750 2.002175 0.000899 0.002673 0.003054 0.999563 diff --git a/SD-VBS/benchmarks/sift/data/qcif/im1_qcif.tif b/SD-VBS/benchmarks/sift/data/qcif/im1_qcif.tif new file mode 100755 index 0000000..d6e7b06 Binary files /dev/null and b/SD-VBS/benchmarks/sift/data/qcif/im1_qcif.tif differ -- cgit v1.2.2