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/multi_ncut/data/test/1.bmp | Bin 0 -> 1350 bytes SD-VBS/benchmarks/multi_ncut/data/test/Makefile | 8 ++++++++ SD-VBS/benchmarks/multi_ncut/data/test/expected.m | 18 ++++++++++++++++++ SD-VBS/benchmarks/multi_ncut/data/test/expected_C.txt | 18 ++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 SD-VBS/benchmarks/multi_ncut/data/test/1.bmp create mode 100644 SD-VBS/benchmarks/multi_ncut/data/test/Makefile create mode 100644 SD-VBS/benchmarks/multi_ncut/data/test/expected.m create mode 100644 SD-VBS/benchmarks/multi_ncut/data/test/expected_C.txt (limited to 'SD-VBS/benchmarks/multi_ncut/data/test') diff --git a/SD-VBS/benchmarks/multi_ncut/data/test/1.bmp b/SD-VBS/benchmarks/multi_ncut/data/test/1.bmp new file mode 100644 index 0000000..b222b0a Binary files /dev/null and b/SD-VBS/benchmarks/multi_ncut/data/test/1.bmp differ diff --git a/SD-VBS/benchmarks/multi_ncut/data/test/Makefile b/SD-VBS/benchmarks/multi_ncut/data/test/Makefile new file mode 100644 index 0000000..3719d30 --- /dev/null +++ b/SD-VBS/benchmarks/multi_ncut/data/test/Makefile @@ -0,0 +1,8 @@ + +include ../../../../common/makefiles/Makefile.include + +BMARK=multi_ncut +INPUT=test +include $(MAKEFILE_COMMON_DIR)/Makefile.common + + diff --git a/SD-VBS/benchmarks/multi_ncut/data/test/expected.m b/SD-VBS/benchmarks/multi_ncut/data/test/expected.m new file mode 100644 index 0000000..df75d27 --- /dev/null +++ b/SD-VBS/benchmarks/multi_ncut/data/test/expected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