File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -549,11 +549,11 @@ is then passed to the offload wrapper tool.
549
549
##### Checking if the compiler is targeting NVPTX
550
550
551
551
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.
555
555
556
- * Note: this macro is defined only during the device compilation phase.*
556
+ * Note: these macros are defined only during the device compilation phase.*
557
557
558
558
##### NVPTX Builtins
559
559
You can’t perform that action at this time.
0 commit comments