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

add a comment about CUDA_LTO to docs #2879

Merged
merged 1 commit into from
Jun 24, 2024
Merged
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
14 changes: 13 additions & 1 deletion Docs/source/mpi_plus_x.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,19 @@ To enable this, compile with::
to the ``make`` line or ``GNUmakefile``.

.. note::

CUDA 11.2 and later can do link time optimization. This can
increase performance by 10-30% (depending on the application), but
may greatly increase the compilation time. This is disabled by
default. To enable link time optimization, add:

.. code::
CUDA_LTO=TRUE
to the ``make`` line of ``GNUmakefile``.

AMD GPUs
--------

Expand All @@ -123,4 +136,3 @@ Working at Supercomputing Centers
Our best practices for running any of the AMReX Astrophysics codes
at different supercomputing centers is produced in our workflow
documentation: https://amrex-astro.github.io/workflow/