Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial changes to compile on AMD #1346

Merged
merged 15 commits into from
Aug 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions BUILDING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,19 @@ Install prerequisites
external dependency when building for AMD GPUs
- roctracer-dev
- Linux kernel >= 3.5.0
- CMake >= 3.21

For **HOOMD-blue** on AMD GPUs, the following limitations currently apply.

1. Certain kernels trigger an `unknown HSA error <https://github.com/ROCm-Developer-Tools/HIP/issues/1662>`_.
2. The ``mpcd`` component is disabled on AMD GPUs.
3. Multi-GPU execution via unified memory is not available.

.. note::

When ``ENABLE_GPU=on``, HOOMD-blue will default to CUDA. Set ``HHOOMD_GPU_PLATFORM=HIP`` to
choose HIP.

**For threaded parallelism on the CPU** (required when ``ENABLE_TBB=on``):

- Intel Threading Building Blocks >= 4.3
Expand Down Expand Up @@ -227,6 +233,7 @@ Other option changes take effect at any time:
- ``CMAKE_INSTALL_PREFIX`` - Directory to install **HOOMD-blue**. Defaults to the root path of the
found Python executable.
- ``ENABLE_GPU`` - When enabled, compiled GPU accelerated computations (default: ``off``).
- ``HOOMD_GPU_PLATFORM`` - Choose either ``CUDA`` or ``HIP`` as a GPU backend (default: ``CUDA``).
- ``SINGLE_PRECISION`` - Controls precision (default: ``off``).

- When set to ``on``, all calculations are performed in single precision.
Expand Down
Loading