README.md 808 B
Using HPVM
Tests are provided, along with a template Makefile for user projects.
Parboil
Several tests from the parboil suite 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=visc
make run TARGET=seq VERSION=visc
# HPVM gpu
make TARGET=gpu VERSION=visc
make run TARGET=gpu VERSION=visc
Cava
TODO
Pipeline
make TARGET={seq, gpu}
./pipeline-{seq, gpu} datasets/formula1_scaled.mp4
Your own project
See template/
for an example Makefile and config.
Include visc.h
to use HPVM C api functions, found in the test/include/visc.h
.