Skip to content

Commit

Permalink
Update installation.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Oct 1, 2021
1 parent f8ed8db commit 587634d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMake/ClangCompilers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if(QMC_OMP)
else()
message(FATAL_ERROR "LLVM does not yet support offload to multiple architectures! "
"Deriving OFFLOAD_ARCH from CMAKE_CUDA_ARCHITECTURES failed. "
"Please keep only one entry in CMAKE_CUDA_ARCHITECTURES or set OFFLOAD_ARCH")
"Please keep only one entry in CMAKE_CUDA_ARCHITECTURES or set OFFLOAD_ARCH.")
endif()
endif()

Expand Down
10 changes: 2 additions & 8 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -416,13 +416,7 @@ to be reached. The following compilers have been verified:
::

OFFLOAD_TARGET for the offload target. default nvptx64-nvidia-cuda.
OFFLOAD_ARCH for the target architecture if not using the compiler default.

- IBM XL 16.1. Support NVIDIA GPUs.

::

-D ENABLE_OFFLOAD=ON
OFFLOAD_ARCH for the target architecture (sm_80, gfx906, ...) if not using the compiler default.

- AMD AOMP Clang 11.8. Support AMD GPUs.

Expand All @@ -448,7 +442,7 @@ For example, using Clang 11 on Summit.

::
-D ENABLE_OFFLOAD=ON -D USE_OBJECT_TARGET=ON -D ENABLE_CUDA=ON -D CMAKE_CUDA_ARCHITECTURES=70 -D CUDA_HOST_COMPILER=`which gcc`
-D ENABLE_OFFLOAD=ON -D USE_OBJECT_TARGET=ON -D ENABLE_CUDA=ON -D CMAKE_CUDA_ARCHITECTURES=70 -D CMAKE_CUDA_HOST_COMPILER=`which gcc`


Installation from CMake
Expand Down

0 comments on commit 587634d

Please sign in to comment.