Skip to content

Commit 758e00f

Browse files
Apply remarks
1 parent d395910 commit 758e00f

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ option(DPCTL_GENERATE_COVERAGE_FOR_PYBIND11_EXTENSIONS
2828
set(DPCTL_TARGET_CUDA
2929
""
3030
CACHE STRING
31-
"Build DPCTL to target CUDA devices. Set to a truthy value (e.g., ON, TRUE) to use default architecture (sm_50), or to a specific architecture like sm_80."
31+
"Build DPCTL to target CUDA device. "
32+
"Set to a truthy value (e.g., ON, TRUE) to use default architecture (sm_50), "
33+
"or to a specific architecture like sm_80."
3234
)
3335
set(DPCTL_TARGET_HIP
3436
""

docs/doc_sources/beginners_guides/installation.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,11 @@ set ``DPCTL_TARGET_CUDA`` to a value such as ``ON``, ``TRUE``, ``YES``, ``Y``, o
176176
Note that kernels are built for ``sm_50`` by default, allowing them to work on a wider
177177
range of architectures, but limiting the usage of more recent CUDA features.
178178

179-
For reference, compute architecture strings like ``sm_80`` are based on
180-
CUDA Compute Capability. A complete mapping between NVIDIA GPU models and their
181-
respective ``sm_XX`` values can be found in the official
182-
`CUDA GPU Compute Capability <https://developer.nvidia.com/cuda-gpus>`_.
179+
For reference, compute architecture strings like ``sm_80`` correspond to specific
180+
CUDA Compute Capabilities (e.g., Compute Capability 8.0 corresponds to ``sm_80``).
181+
A complete mapping between NVIDIA GPU models and their respective
182+
Compute Capabilities can be found in the official
183+
`CUDA GPU Compute Capability <https://developer.nvidia.com/cuda-gpus>`_ documentation.
183184

184185
A full list of available SYCL alias targets is available in the
185186
`DPC++ Compiler User Manual <https://intel.github.io/llvm/UsersManual.html>`_.

0 commit comments

Comments
 (0)