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/vga/1.bmp | Bin 0 -> 691254 bytes SD-VBS/benchmarks/sift/data/vga/Makefile | 7 +++++++ SD-VBS/benchmarks/sift/data/vga/expected.m | 3 +++ SD-VBS/benchmarks/sift/data/vga/expected_C.txt | 3 +++ 4 files changed, 13 insertions(+) create mode 100644 SD-VBS/benchmarks/sift/data/vga/1.bmp create mode 100644 SD-VBS/benchmarks/sift/data/vga/Makefile create mode 100644 SD-VBS/benchmarks/sift/data/vga/expected.m create mode 100644 SD-VBS/benchmarks/sift/data/vga/expected_C.txt (limited to 'SD-VBS/benchmarks/sift/data/vga') diff --git a/SD-VBS/benchmarks/sift/data/vga/1.bmp b/SD-VBS/benchmarks/sift/data/vga/1.bmp new file mode 100644 index 0000000..a290698 Binary files /dev/null and b/SD-VBS/benchmarks/sift/data/vga/1.bmp differ diff --git a/SD-VBS/benchmarks/sift/data/vga/Makefile b/SD-VBS/benchmarks/sift/data/vga/Makefile new file mode 100644 index 0000000..e5d965a --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/vga/Makefile @@ -0,0 +1,7 @@ +INPUT=vga +include ../../../../common/makefiles/Makefile.include + +BMARK=sift +include $(MAKEFILE_COMMON_DIR)/Makefile.common + + diff --git a/SD-VBS/benchmarks/sift/data/vga/expected.m b/SD-VBS/benchmarks/sift/data/vga/expected.m new file mode 100644 index 0000000..370de8f --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/vga/expected.m @@ -0,0 +1,3 @@ +4.001077 64.000256 71.000653 101.000887 102.000626 109.999989 92.999469 56.000010 93.000993 37.000265 41.999736 52.000374 12.001936 21.000447 39.997204 25.001418 26.000761 44.998359 16.999495 45.994780 4.002647 16.999300 44.000076 36.000974 48.999853 +235.996913 62.999531 108.999989 91.999832 80.999901 109.999804 109.000675 60.000270 83.000089 8.000430 11.998686 14.000111 50.999512 12.000354 43.000622 44.999225 25.000619 26.999477 43.999443 16.997934 56.003364 23.000953 17.999300 26.000489 3.997675 +1.997221 0.999963 1.000744 0.999331 0.999509 1.001213 2.004579 2.000446 2.001272 -0.000525 0.000666 -0.004113 1.000090 1.000093 0.999601 2.001059 2.000230 2.000452 0.000450 -0.002223 1.006566 1.000414 0.998869 1.998115 2.003538 diff --git a/SD-VBS/benchmarks/sift/data/vga/expected_C.txt b/SD-VBS/benchmarks/sift/data/vga/expected_C.txt new file mode 100644 index 0000000..b345964 --- /dev/null +++ b/SD-VBS/benchmarks/sift/data/vga/expected_C.txt @@ -0,0 +1,3 @@ +4.001078 64.000259 71.000656 101.000885 102.000626 109.999992 92.999466 56.000011 93.000992 37.000267 41.999737 52.000374 12.001936 21.000446 39.997204 25.001419 26.000761 44.998360 16.999495 45.994781 4.002647 16.999300 44.000076 36.000973 48.999851 +235.996918 62.999531 108.999992 91.999832 80.999901 109.999802 109.000671 60.000271 83.000092 8.000430 11.998686 14.000111 50.999512 12.000354 43.000622 44.999226 25.000618 26.999477 43.999443 16.997934 56.003365 23.000954 17.999300 26.000490 3.997675 +1.997221 0.999963 1.000744 0.999331 0.999509 1.001213 2.004580 2.000446 2.001272 -0.000525 0.000666 -0.004113 1.000090 1.000093 0.999601 2.001059 2.000230 2.000452 0.000450 -0.002223 1.006566 1.000414 0.998869 1.998115 2.003538 -- cgit v1.2.2