Skip to content
Snippets Groups Projects
Commit d510a286 authored by Akash Kothari's avatar Akash Kothari
Browse files

Add instructions for setting paths for HPVM installation

parent 0913e2e8
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ HPVM is currently at version 0.5. For more about what HPVM is, see [our website] ...@@ -22,7 +22,7 @@ HPVM is currently at version 0.5. For more about what HPVM is, see [our website]
The following components are required to be installed on your machine to build HPVM. The following components are required to be installed on your machine to build HPVM.
* GCC (>=5.1.0) * GCC (>=5.1.0)
* CMake (>=3.4.3) * CMake (>=3.17.0)
* Python (>=2.7) * Python (>=2.7)
* GNU Make (>=3.79.1) * GNU Make (>=3.79.1)
* OpenCL (>=1.0.0) or CUDA (>=9.1, only required for GPU support) * OpenCL (>=1.0.0) or CUDA (>=9.1, only required for GPU support)
...@@ -49,6 +49,12 @@ git clone https://gitlab.engr.illinois.edu/llvm/hpvm-release.git/ ...@@ -49,6 +49,12 @@ git clone https://gitlab.engr.illinois.edu/llvm/hpvm-release.git/
cd hpvm-release/hpvm cd hpvm-release/hpvm
``` ```
Before installing HPVM, some paths must be set for installation to succeed. The following variables in set_paths.sh must be set:
* CUDA_TOOLKIT_PATH --- Path to the CUDA toolkit
* CUDA_INCLUDE_PATH --- Path to the CUDA headers
* CUDA_LIB_PATH -- Path to CUDA libraries
HPVM installer script can be used to download, configure and build HPVM along with LLVM and Clang. HPVM installer script can be used to download, configure and build HPVM along with LLVM and Clang.
```shell ```shell
bash install.sh bash install.sh
......
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