HPVM
Dependencies
You would need to download and install the following components for using AVX and NVIDIA GPUs to speed up your programs
- Intel OpenCL SDK for Linux from software.intel.com/sdk/opencl. Follow the installation instructions (no special requirements).
- CUDA
Build
# Get dependencies
cd llvm/projects
git clone https://github.com/llvm-mirror/compiler-rt
git checkout release_40
cd ../..
# Switch to 4.0 branch
git checkout update_llvm4
# Build
mkdir install
mkdir build && cd build
cmake ../llvm -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD="X86;NVPTX" -DCMAKE_INSTALL_PREFIX=../install
make -j<number of threads you want to use to build hpvm>