diff --git a/docs/conceptual/cmake-packages.rst b/docs/conceptual/cmake-packages.rst index a1ffe7384..ec9db0c7f 100644 --- a/docs/conceptual/cmake-packages.rst +++ b/docs/conceptual/cmake-packages.rst @@ -198,15 +198,10 @@ all the flags necessary for device compilation. Compiling for the GPU device requires at least C++11. -This project can then be configured with the following CMake commands. +This project can then be configured with the following CMake commands: -- Windows: ``cmake -D CMAKE_CXX_COMPILER:PATH=${env:HIP_PATH}\bin\clang++.exe`` - -- Linux: ``cmake -D CMAKE_CXX_COMPILER:PATH=/opt/rocm/bin/amdclang++`` - -Which use the device compiler provided from the binary packages of -`ROCm HIP SDK `_ and -`repo.radeon.com `_ respectively. +* Windows: ``cmake -D CMAKE_CXX_COMPILER:PATH=${env:HIP_PATH}\bin\clang++.exe`` +* Linux: ``cmake -D CMAKE_CXX_COMPILER:PATH=/opt/rocm/bin/amdclang++`` When using the ``CXX`` language support to compile HIP device code, selecting the target GPU architectures is done via setting the ``GPU_TARGETS`` variable.