Skip to content

Commit f8afe38

Browse files
author
Artem Gindinson
committed
Reword documentation updates
Signed-off-by: Artem Gindinson <artem.gindinson@intel.com>
1 parent a9df508 commit f8afe38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/doc/CompilerAndRuntimeDesign.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,11 +549,11 @@ is then passed to the offload wrapper tool.
549549
##### Checking if the compiler is targeting NVPTX
550550

551551
When the SYCL compiler is in device mode and targeting the NVPTX backend,
552-
compiler defines the macro `__NVPTX__` alongside the
553-
`__SYCL_DEVICE_ONLY` macro. This macro combination can safely be used
554-
to enable NVPTX specific code path in SYCL kernels.
552+
the compiler defines `__SYCL_DEVICE_ONLY__` and `__NVPTX__` macros. This
553+
macro combination can safely be used to enable NVPTX specific code
554+
path in SYCL kernels.
555555

556-
*Note: this macro is defined only during the device compilation phase.*
556+
*Note: these macros are defined only during the device compilation phase.*
557557

558558
##### NVPTX Builtins
559559

0 commit comments

Comments
 (0)