Skip to content

Commit c1ddf86

Browse files
authored
[SYC] Remove macro from user name space. (#3480)
The name of the macro that disables range rounding has been changed to protect from potential conflict with a user-defined macro. Signed-off-by: rdeodhar <rajiv.deodhar@intel.com>
1 parent ec97165 commit c1ddf86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/include/CL/sycl/handler.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ class __SYCL_EXPORT handler {
738738
// Range rounding can be disabled by the user.
739739
// Range rounding is not done on the host device.
740740
// Range rounding is supported only for newer SYCL standards.
741-
#if !defined(SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING) && \
741+
#if !defined(__SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING__) && \
742742
!defined(DPCPP_HOST_DEVICE_OPENMP) && \
743743
!defined(DPCPP_HOST_DEVICE_PERF_NATIVE) && SYCL_LANGUAGE_VERSION >= 202001
744744
// Range should be a multiple of this for reasonable performance.
@@ -825,7 +825,7 @@ class __SYCL_EXPORT handler {
825825
MCGType = detail::CG::KERNEL_V1;
826826
#endif
827827
} else
828-
#endif // !SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING && \
828+
#endif // !__SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING__ && \
829829
// !DPCPP_HOST_DEVICE_OPENMP && !DPCPP_HOST_DEVICE_PERF_NATIVE && \
830830
// SYCL_LANGUAGE_VERSION >= 202001
831831
{

0 commit comments

Comments
 (0)