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/sqcif/1.bmp | Bin 0 -> 27702 bytes SD-VBS/benchmarks/sift/data/sqcif/Makefile | 7 +++++++ SD-VBS/benchmarks/sift/data/sqcif/expected.m | 3 +++ SD-VBS/benchmarks/sift/data/sqcif/expected_C.txt | 3 +++ 4 files changed, 13 insertions(+) create mode 100644 SD-VBS/benchmarks/sift/data/sqcif/1.bmp create mode 100644 SD-VBS/benchmarks/sift/data/sqcif/Makefile create mode 100644 SD-VBS/benchmarks/sift/data/sqcif/expected.m create mode 100644 SD-VBS/benchmarks/sift/data/sqcif/expected_C.txt (limited to 'SD-VBS/benchmarks/sift/data/sqcif') diff --git a/SD-VBS/benchmarks/sift/data/sqcif/1.bmp b/SD-VBS/benchmarks/sift/data/sqcif/1.bmp new file mode 100644 index 0000000..e81e1fc Binary files /dev/null and b/SD-VBS/benchmarks/sift/data/sqcif/1.bmp differ diff --git a/SD-VBS/benchmarks/sift/data/sqcif/Makefile b/SD-VBS/benchmarks/sift/data/sqcif/Makefile new file mode 100644 index 0000000..1d4e009 --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/sqcif/Makefile @@ -0,0 +1,7 @@ +INPUT=sqcif +include ../../../../common/makefiles/Makefile.include + +BMARK=sift +include $(MAKEFILE_COMMON_DIR)/Makefile.common + + diff --git a/SD-VBS/benchmarks/sift/data/sqcif/expected.m b/SD-VBS/benchmarks/sift/data/sqcif/expected.m new file mode 100644 index 0000000..140643b --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/sqcif/expected.m @@ -0,0 +1,3 @@ +183.000403 51.001171 55.999927 79.999487 87.000171 88.000835 73.999127 57.999392 67.000131 44.000999 74.001196 26.999298 43.999218 72.001323 8.998266 17.001107 31.999034 40.995249 19.998951 20.003080 35.998479 13.001442 35.001360 28.997337 25.999158 31.000511 +150.000063 49.999426 87.000198 72.999307 51.999937 88.000170 87.000970 12.000201 18.999405 48.000347 66.000128 69.000323 49.999689 27.000191 41.000470 9.000107 33.999173 10.999689 19.999543 35.999525 20.998161 18.998984 14.001576 20.998481 28.000519 43.994983 +1.000056 -0.000244 0.000069 -0.001128 0.000711 0.000815 1.004050 2.000387 2.001282 1.000891 1.001405 2.000524 1.999328 2.001783 0.000885 0.000626 -0.001537 0.004831 0.999517 1.000593 1.001016 -0.000170 -0.000697 0.997790 2.001555 1.997893 diff --git a/SD-VBS/benchmarks/sift/data/sqcif/expected_C.txt b/SD-VBS/benchmarks/sift/data/sqcif/expected_C.txt new file mode 100644 index 0000000..f428170 --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/sqcif/expected_C.txt @@ -0,0 +1,3 @@ +183.000397 51.001171 55.999928 79.999489 87.000168 88.000839 73.999130 57.999393 67.000130 44.000999 74.001198 26.999298 43.999218 72.001320 8.998266 17.001106 31.999035 40.995251 19.998951 20.003080 35.998478 13.001442 35.001362 28.997337 25.999159 31.000511 +150.000061 49.999428 87.000198 72.999306 51.999935 88.000168 87.000969 12.000200 18.999405 48.000347 66.000130 69.000320 49.999691 27.000191 41.000469 9.000107 33.999172 10.999689 19.999544 35.999527 20.998161 18.998983 14.001576 20.998482 28.000519 43.994984 +1.000056 -0.000244 0.000069 -0.001128 0.000711 0.000815 1.004050 2.000387 2.001282 1.000891 1.001405 2.000524 1.999328 2.001783 0.000885 0.000626 -0.001537 0.004831 0.999517 1.000593 1.001016 -0.000170 -0.000697 0.997790 2.001555 1.997893 -- cgit v1.2.2