Skip to content
Snippets Groups Projects
user avatar
Adel Ejjeh authored
Merge branch 'hpvm-reorg-9-temp' of https://gitlab.engr.illinois.edu/llvm/hpvm into hpvm-reorg-9-temp
50b994ff
History

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/big/input/formula1_scaled.mp4

Your own project

See template/ for an example Makefile and config. Include visc.h to use HPVM intrinsics, found in the test/include/visc.h.