From 208617e164989bc021b914d72d333dc4477630a8 Mon Sep 17 00:00:00 2001 From: Adel Ejjeh <aejjeh@tyler.cs.illinois.edu> Date: Fri, 24 Jan 2020 17:33:44 -0600 Subject: [PATCH] adding benchmarks readme --- hpvm/test/benchmarks/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hpvm/test/benchmarks/README.md diff --git a/hpvm/test/benchmarks/README.md b/hpvm/test/benchmarks/README.md new file mode 100644 index 0000000000..0f227a2c34 --- /dev/null +++ b/hpvm/test/benchmarks/README.md @@ -0,0 +1,20 @@ +# Using HPVM +The below benchmarks are provided with HPVM, along with a template Makefile for user projects. + +In order to be able to build the existing benchmarks, a new `Makefile.config` must be created in [include](/hpvm/test/benchmarks/include) based on the existing `Makefile.config.example`. This configuration file must set up the following paths: +* LLVM_BUILD_DIR: should point to your local `build` directory of HPVM. +* HPVM_BENCH_DIR: should point to this benchmakrs directory. +* CUDA_PATH: should point to your local CUDA installation. + +## Parboil +Instructions to compile and run Parboil are provided in the following [README](/hpvm/test/benchmarks/parboil). + +## Harvard Camera Pipeline (HPVM-CAVA) +Instructions to compile and run HPVM-CAVA are provided in the following [README](/hpvm/test/benchmarks/hpvm-cava). + +## Edge Detection Pipeline +Instructions to compile and run Pipeline are provided in the following [README](/hpvm/test/benchmarks/pipeline). + +## Your own project +See `template/` for an example Makefile and config. +Include `hpvm.h` to use HPVM C api functions, found in the `include/hpvm.h`. -- GitLab