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/cif/1.bmp | Bin 0 -> 248886 bytes SD-VBS/benchmarks/sift/data/cif/Makefile | 7 +++++++ SD-VBS/benchmarks/sift/data/cif/expected.m | 3 +++ SD-VBS/benchmarks/sift/data/cif/expected_C.txt | 3 +++ SD-VBS/benchmarks/sift/data/cif/test0.txt | 15 +++++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 SD-VBS/benchmarks/sift/data/cif/1.bmp create mode 100644 SD-VBS/benchmarks/sift/data/cif/Makefile create mode 100644 SD-VBS/benchmarks/sift/data/cif/expected.m create mode 100644 SD-VBS/benchmarks/sift/data/cif/expected_C.txt create mode 100644 SD-VBS/benchmarks/sift/data/cif/test0.txt (limited to 'SD-VBS/benchmarks/sift/data/cif') diff --git a/SD-VBS/benchmarks/sift/data/cif/1.bmp b/SD-VBS/benchmarks/sift/data/cif/1.bmp new file mode 100644 index 0000000..510ee1e Binary files /dev/null and b/SD-VBS/benchmarks/sift/data/cif/1.bmp differ diff --git a/SD-VBS/benchmarks/sift/data/cif/Makefile b/SD-VBS/benchmarks/sift/data/cif/Makefile new file mode 100644 index 0000000..f9f69ad --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/cif/Makefile @@ -0,0 +1,7 @@ +INPUT=cif +include ../../../../common/makefiles/Makefile.include + +BMARK=sift +include $(MAKEFILE_COMMON_DIR)/Makefile.common + + diff --git a/SD-VBS/benchmarks/sift/data/cif/expected.m b/SD-VBS/benchmarks/sift/data/cif/expected.m new file mode 100644 index 0000000..af2bf0d --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/cif/expected.m @@ -0,0 +1,3 @@ +136.999167 77.000720 83.999729 112.000277 121.000620 39.000176 51.001094 43.999857 61.998244 13.999880 25.000228 47.997497 33.001164 55.999991 20.001724 54.000010 3.999342 5.000423 20.000317 43.000814 14.996794 15.002251 26.996749 19.002418 +112.999914 76.000321 129.999754 130.999869 109.999693 139.999571 14.999954 8.999146 17.000011 60.999649 13.999972 50.998759 37.000079 49.999613 52.000721 20.998285 4.001589 67.002178 28.000061 31.999063 14.997124 26.998721 15.996770 21.000680 +0.000541 2.000809 2.000690 1.999219 1.999901 1.999766 -0.000501 1.001493 0.997885 2.002503 2.001009 2.000486 0.000857 0.000447 0.999257 1.001282 1.999210 2.004933 1.998901 2.002017 0.000844 0.002754 0.003280 0.999702 diff --git a/SD-VBS/benchmarks/sift/data/cif/expected_C.txt b/SD-VBS/benchmarks/sift/data/cif/expected_C.txt new file mode 100644 index 0000000..75e4acd --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/cif/expected_C.txt @@ -0,0 +1,3 @@ +136.999161 77.000717 83.999725 112.000275 121.000618 39.000175 51.001095 43.999855 61.998245 13.999880 25.000229 47.997498 33.001163 55.999992 20.001724 54.000011 3.999342 5.000423 20.000317 43.000813 14.996795 15.002251 26.996750 19.002419 +112.999916 76.000320 129.999756 130.999863 109.999695 139.999573 14.999953 8.999146 17.000011 60.999649 13.999972 50.998760 37.000080 49.999615 52.000721 20.998285 4.001589 67.002174 28.000061 31.999063 14.997125 26.998720 15.996770 21.000681 +0.000540 2.000809 2.000690 1.999218 1.999901 1.999766 -0.000501 1.001493 0.997885 2.002503 2.001009 2.000486 0.000857 0.000447 0.999257 1.001282 1.999210 2.004933 1.998901 2.002017 0.000844 0.002754 0.003280 0.999702 diff --git a/SD-VBS/benchmarks/sift/data/cif/test0.txt b/SD-VBS/benchmarks/sift/data/cif/test0.txt new file mode 100644 index 0000000..437c8b0 --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/cif/test0.txt @@ -0,0 +1,15 @@ +sift none 7 none 5 99041712 test0 0 0 0 +sift none 7 none 5 93074416 test0 1 0 0 +sift none 7 none 5 92964760 test0 2 0 0 +sift none 7 none 5 93140184 test0 3 0 0 +sift none 7 none 5 93194536 test0 4 0 0 +sift none 4 none 5 98194184 test0 0 0 0 +sift none 4 none 5 92283064 test0 1 0 0 +sift none 4 none 5 91846712 test0 2 0 0 +sift none 4 none 5 92315824 test0 3 0 0 +sift none 4 none 5 92186408 test0 4 0 0 +sift none 12 none 5 106681616 test0 0 0 0 +sift none 12 none 5 99012232 test0 1 0 0 +sift none 12 none 5 103506616 test0 2 0 0 +sift none 12 none 5 97303072 test0 3 0 0 +sift none 12 none 5 97633920 test0 4 0 0 -- cgit v1.2.2