Skip to content

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
pghysels committed Apr 15, 2024
1 parent e728dfa commit 47ec378
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
3 changes: 2 additions & 1 deletion doc/doxygen/pages/GPU_support.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ There is also support for AMD GPUs through HIP and the ROCm libraries,
rocSOLVER and hipBLAS.
Support for HIP can be enabled through the CMake build using:
\code {.bash}
> cmake ../ -DSTRUMPACK_USE_HIP=ON -DHIP_HIPCC_FLAGS=--amdgpu-target=gfx906
> export HIP_DIR=....
> cmake ../ -DSTRUMPACK_USE_HIP=ON -DCMAKE_HIP_ARCHITECTURES=gfx90a -DCMAKE_CXX_COMPILER=hipcc
\endcode
where the user can specify the specific GPU architecture.
If the CMake build system detects CUDA support, then HIP will be
Expand Down
16 changes: 13 additions & 3 deletions doc/doxygen/pages/Installation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ export METIS_DIR=`pwd`/install
\code {.bash}
> cmake ../ -DSTRUMPACK_USE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="75"
\endcode
which is enabled by default, and will look for the CUDA compiler and
libraries in the default locations. Additionally, one can specify
the CUDAToolkit_ROOT path to the CUDA libraries:
which will look for the CUDA compiler and libraries in the default
locations. Additionally, one can specify the CUDAToolkit_ROOT path
to the CUDA libraries:
\code {.bash}
> cmake ../ -DSTRUMPACK_USE_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES="75" -DCUDAToolkit_ROOT=/some/path
\endcode
Expand All @@ -127,6 +127,16 @@ or
See the page on \link GPU_Support GPU Support \endlink for more
details.

- __HIP__ and __ROCm__ can be used to accelerate the sparse direct
solver on AMD GPUs:
\code {.bash}
> export HIP_DIR=....
> cmake ../ -DSTRUMPACK_USE_HIP=ON -DCMAKE_HIP_ARCHITECTURES=gfx90a -DCMAKE_CXX_COMPILER=hipcc
\endcode
For full GPU support in the distributed memory sparse direct solver,
one should also compile with support for SLATE with the HIP backend,
see below. \n See the page on \link GPU_Support GPU Support \endlink
for more details.

- __MPI__ (Message Passing Interface) library. Support for MPI is
enabled by default in STRUMPACK, but can be disabled by adding
Expand Down

0 comments on commit 47ec378

Please sign in to comment.