Skip to content

Commit

Permalink
add a comment about CUDA_LTO to docs (#2879)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jun 24, 2024
1 parent f49f76b commit f3d82dc
Showing 1 changed file with 13 additions and 1 deletion.
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/

0 comments on commit f3d82dc

Please sign in to comment.