Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
hpvm-release
Commits
cdf8a0b7
Commit
cdf8a0b7
authored
4 years ago
by
Hashim Sharif
Browse files
Options
Downloads
Plain Diff
Merging
parents
13108832
e59962ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+12
-1
12 additions, 1 deletion
README.md
hpvm/set_paths.sh
+17
-0
17 additions, 0 deletions
hpvm/set_paths.sh
with
29 additions
and
1 deletion
README.md
+
12
−
1
View file @
cdf8a0b7
...
...
@@ -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.
*
GCC (>=5.1.0)
*
CMake (>=3.
4.3
)
*
CMake (>=3.
17.0
)
*
Python (>=2.7)
*
GNU Make (>=3.79.1)
*
OpenCL (>=1.0.0) or CUDA (>=9.1, only required for GPU support)
...
...
@@ -49,6 +49,17 @@ git clone https://gitlab.engr.illinois.edu/llvm/hpvm-release.git/
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
Once the aforementioned variables in set_paths.sh have been specified, run the script.
```
shell
source
set_paths.sh
```
HPVM installer script can be used to download, configure and build HPVM along with LLVM and Clang.
```
shell
bash install.sh
...
...
This diff is collapsed.
Click to expand it.
hpvm/set_paths.sh
0 → 100644
+
17
−
0
View file @
cdf8a0b7
#!/bin/bash
# These paths can be modified by the HPVM user
CUDA_TOOLKIT_PATH
=
cuda-toolkit/9.1
CUDA_INCLUDE_PATH
=
/software/cuda-9.1/include
CUDA_LIB_PATH
=
/software/cuda-9.1/lib64/
echo
"Setting environment paths..."
# Setting CUDA paths here
module load
$CUDA_TOOLKIT_PATH
export
CUDA_INCLUDE_PATH
=
$CUDA_INCLUDE_PATH
export
CUDNN_PATH
=
$CUDA_LIB_PATH
export
LIBRARY_PATH
=
$CUDA_LIB_PATH
:
$LIBRARY_PATH
export
LD_LIBRARY_PATH
=
$CUDA_LIB_PATH
:
$LD_LIBRARY_PATH
echo
"Finished setting environment paths!"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment