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
510757be
Commit
510757be
authored
7 years ago
by
Prakalp Srivastava
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
cf55238f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+42
-4
42 additions, 4 deletions
README.md
with
42 additions
and
4 deletions
README.md
+
42
−
4
View file @
510757be
# HPVM
# Heterogeneous Parallel Virtual Machine
This repository contains miscellaneous supporting materals for HPVM.
## Paper
[
Technical Report
](
https://arxiv.org/abs/1611.00860
)
## Dependencies
You would need to download and install the following components for using AVX and NVIDIA GPUs to speed up your programs
...
...
@@ -14,13 +20,45 @@ cd llvm/projects
git clone https://github.com/llvm-mirror/compiler-rt
git checkout release_40
cd
../..
```
# Switch to 4.0 branch
Switch to 4.0 branch
```
shell
git checkout update_llvm4
```
# Build
Build hpvm
```
shell
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>
```
\ No newline at end of file
```
Build hpvm runtime
```
shell
cd
projects/visc-rt
make
cd
..
```
To use hpvm to compile benchmarks set environment variable
`LLVM_SRC_ROOT`
to llvm directory in your local repository
```
shell
export
LLVM_SRC_ROOT
=
<full path to hpvm>/llvm
```
### Benchmark Suites
Benchmark suites have been migrated to the LLVM 4.0 build. They are located
in
[
VISC
](
/llvm/test/VISC/parboil/benchmarks
)
.
### Running an example (sgemm in parboil)
```
shell
cd
llvm/test/VISC/parboil/benchmarks/sgemm
make
make run
```
### Other Old Components
Search this repository for "visc", case-insensitive.
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