Skip to content

[SYC] Remove macro from user name space. #3480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sycl/include/CL/sycl/handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ class __SYCL_EXPORT handler {
// Range rounding can be disabled by the user.
// Range rounding is not done on the host device.
// Range rounding is supported only for newer SYCL standards.
#if !defined(SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING) && \
#if !defined(__SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING__) && \
!defined(DPCPP_HOST_DEVICE_OPENMP) && \
!defined(DPCPP_HOST_DEVICE_PERF_NATIVE) && SYCL_LANGUAGE_VERSION >= 202001
// Range should be a multiple of this for reasonable performance.
Expand Down Expand Up @@ -825,7 +825,7 @@ class __SYCL_EXPORT handler {
MCGType = detail::CG::KERNEL_V1;
#endif
} else
#endif // !SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING && \
#endif // !__SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING__ && \
// !DPCPP_HOST_DEVICE_OPENMP && !DPCPP_HOST_DEVICE_PERF_NATIVE && \
// SYCL_LANGUAGE_VERSION >= 202001
{
Expand Down