Skip to content
Snippets Groups Projects
Commit 413beae8 authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Updated readmes

parent b292e488
No related branches found
No related tags found
No related merge requests found
......@@ -73,3 +73,4 @@ We are providing the following benchmarks with HPVM:
We are also providing [unit tests](/hpvm/test/unitTests) and [regression tests](/hpvm/test/regressionTests).
Benchmark descriptions and instructions on how to compile and run them are [here](/hpvm/test).
......@@ -4,28 +4,13 @@ The below benchmarks are provided with HPVM, along with a template Makefile for
* CUDA_PATH: should point to your local CUDA installation.
## Parboil
Several tests from the [parboil suite](http://impact.crhc.illinois.edu/parboil/parboil.aspx) have been ported to HPVM.
To run one of these tests, navigate to its directory under `parboil/benchmarks/`.
Tests may be built for the cpu or gpu with hpvm.
```
# sgemm example
cd parboil/benchmarks/sgemm
# HPVM cpu
make TARGET=seq VERSION=hpvm
make run TARGET=seq VERSION=hpvm
# HPVM gpu
make TARGET=gpu VERSION=hpvm
make run TARGET=gpu VERSION=hpvm
```
Instructions to compile and run Parboil are provided in the following [README](/hpvm/test/parboil).
## Harvard Camera Pipeline (HPVM-CAVA)
Instructions for HPVM-CAVA are provided in the following [README](/hpvm/test/hpvm-cava)
Instructions to compile and run HPVM-CAVA are provided in the following [README](/hpvm/test/hpvm-cava).
## Pipeline
```
make TARGET={seq, gpu}
./pipeline-{seq, gpu} datasets/formula1_scaled.mp4
```
## Edge Detection Pipeline
Instructions to compile and run Pipeline are provided in the following [README](/hpvm/test/pipeline).
## Your own project
See `template/` for an example Makefile and config.
......
## Compiling and Running Parboil Benchmarks
Several tests from the [parboil suite](http://impact.crhc.illinois.edu/parboil/parboil.aspx) have been ported to HPVM.
To run one of these tests, navigate to its directory under `benchmarks/`.
Tests may be built for the cpu or gpu with hpvm.
```
# sgemm example
cd benchmarks/sgemm
# HPVM cpu
make TARGET=seq VERSION=hpvm
make run TARGET=seq VERSION=hpvm
# HPVM gpu
make TARGET=gpu VERSION=hpvm
make run TARGET=gpu VERSION=hpvm
```
# Current Benchmark Compatability
| Benchmark | Version | Supported on CPU | Supported on GPU |
......
A register-tiled matrix-matrix multiplication, with default column-majored
layout on matrix A and C, but B is transposed.
src/cuda/
CUDA version of sgemm('N', 'T', ...)
See also:
Volkov, V., and Demmel, J. W. 2008. Benchmarking GPUs to tune dense linear
algebra, 2008 ACM/IEEE Conference on Supercomputing (SC08)
# Edge Detection Pipeline
HPVM benchmark performing edge detection on a stream of input images.
## Dependencies
Edge detection pipeline depends on `OpenCV==2.4`. To use OpenCV 3.4, go to line 13 in `src/main.cc`
and replace
```
#include "opencv2/ocl/ocl.hpp"
```
with
```
#include "opencv2/core/ocl.hpp"
```
Edge detection pipeline is not tested with other versions of OpenCV.
## How to Build and Test
```
make TARGET={seq, gpu}
./pipeline-{seq, gpu} datasets/formula1_scaled.mp4
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment