aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Mao <zhehao.mao@gmail.com>2016-05-03 17:25:46 -0700
committerHoward Mao <zhehao.mao@gmail.com>2016-05-03 17:25:46 -0700
commit6ce623a7b9c37d70772d03529cd80c7952ef6ccf (patch)
treef0cf18da4075a3aef7d8bfdced71d014fadbe453
parent4c08364e68da0a6d7e218378acf8894f8289a56f (diff)
downloadriscv-tests-6ce623a7b9c37d70772d03529cd80c7952ef6ccf.zip
riscv-tests-6ce623a7b9c37d70772d03529cd80c7952ef6ccf.tar.gz
riscv-tests-6ce623a7b9c37d70772d03529cd80c7952ef6ccf.tar.bz2
get rid of empty benchmark
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/empty/bmark.mk30
-rw-r--r--benchmarks/empty/empty_main.c24
3 files changed, 0 insertions, 55 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 0e132fb..8cc1e35 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -27,7 +27,6 @@ bmarks = \
spmv \
mt-vvadd \
mt-matmul \
- empty \
bmarks_host = \
median \
diff --git a/benchmarks/empty/bmark.mk b/benchmarks/empty/bmark.mk
deleted file mode 100644
index 7d70e12..0000000
--- a/benchmarks/empty/bmark.mk
+++ /dev/null
@@ -1,30 +0,0 @@
-#=======================================================================
-# UCB CS250 Makefile fragment for benchmarks
-#-----------------------------------------------------------------------
-#
-# Each benchmark directory should have its own fragment which
-# essentially lists what the source files are and how to link them
-# into an riscv and/or host executable. All variables should include
-# the benchmark name as a prefix so that they are unique.
-#
-
-empty_c_src = \
- empty_main.c \
- syscalls.c \
-
-empty_riscv_src = \
- crt.S \
-
-empty_c_objs = $(patsubst %.c, %.o, $(empty_c_src))
-empty_riscv_objs = $(patsubst %.S, %.o, $(empty_riscv_src))
-
-empty_host_bin = empty.host
-$(empty_host_bin): $(empty_c_src)
- $(HOST_COMP) $^ -o $(empty_host_bin)
-
-empty_riscv_bin = empty.riscv
-$(empty_riscv_bin): $(empty_c_objs) $(empty_riscv_objs)
- $(RISCV_LINK) $(empty_c_objs) $(empty_riscv_objs) -o $(empty_riscv_bin) $(RISCV_LINK_OPTS)
-
-junk += $(empty_c_objs) $(empty_riscv_objs) \
- $(empty_host_bin) $(empty_riscv_bin)
diff --git a/benchmarks/empty/empty_main.c b/benchmarks/empty/empty_main.c
deleted file mode 100644
index 6a63b99..0000000
--- a/benchmarks/empty/empty_main.c
+++ /dev/null
@@ -1,24 +0,0 @@
-// See LICENSE for license details.
-
-//**************************************************************************
-// Median filter bencmark
-//--------------------------------------------------------------------------
-//
-// This benchmark performs a 1D three element median filter. The
-// input data (and reference data) should be generated using the
-// median_gendata.pl perl script and dumped to a file named
-// dataset1.h You should not change anything except the
-// HOST_DEBUG and PREALLOCATE macros for your timing run.
-
-#include "util.h"
-
-//--------------------------------------------------------------------------
-// Input/Reference Data
-
-//--------------------------------------------------------------------------
-// Main
-
-int main( int argc, char* argv[] )
-{
- return 0;
-}