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
e34137f7
Commit
e34137f7
authored
3 years ago
by
Aaron Councilman
Browse files
Options
Downloads
Patches
Plain Diff
Remove hard-coded thread numbers for building, document RAM requirements
parent
583c7ffa
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hpvm/docs/build-hpvm.rst
+6
-4
6 additions, 4 deletions
hpvm/docs/build-hpvm.rst
hpvm/docs/tutorials/index.rst
+6
-1
6 additions, 1 deletion
hpvm/docs/tutorials/index.rst
with
12 additions
and
5 deletions
hpvm/docs/build-hpvm.rst
+
6
−
4
View file @
e34137f7
...
...
@@ -155,11 +155,13 @@ The HPVM installer script can be used to automatically download extra components
.. code-block:: shell
./install.sh -j
32
DCMAKE_BUILD_TYPE=Release
./install.sh -j
<n>
DCMAKE_BUILD_TYPE=Release
will compile HPVM with 32 threads in Release mode; similarly, inputting
``DCMAKE_BUILD_TYPE=Release`` to the prompt will also send ``-DCMAKE_BUILD_TYPE=Release``
to CMake which gives a build in Release mode.
will compile HPVM in Release mode. In this, ```<n>``` should be replaced by
the number of threads to build with. Note that HPVM requires nearly 16 GB of
RAM to build single-threaded and the usage increases (though not linearly) as
the number of threads is increased. If you encounter Out of Memory or similar
errors during compilation, try decreasing the number of threads.
After configuring HPVM,
the installer will also compile HPVM by default, which you can opt out of.
...
...
This diff is collapsed.
Click to expand it.
hpvm/docs/tutorials/index.rst
+
6
−
1
View file @
e34137f7
...
...
@@ -18,9 +18,14 @@ Next, build hpvm using the provided installer as follows:
.. code-block:: shell
./install.sh -j
32
DCMAKE_BUILD_TYPE=Release
./install.sh -j
<n>
DCMAKE_BUILD_TYPE=Release
This script will download the required LLVM release and build HPVM.
In this, ```<n>``` should be replaced with the number of threads to build with.
Note that HPVM requires nearly 16 GB of RAM to build single-threaded and this
increases (though not linearly) as the number of threads is increased. If you
encounter Out of Memory or similar errors during compilation, try decreasing
the number of threads.
For more details on building HPVM, check out the :doc:`detailed build instructions <../build-hpvm>`.
...
...
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