diff --git a/sycl/include/sycl/handler.hpp b/sycl/include/sycl/handler.hpp index e487a1826b982..7ce0803853622 100644 --- a/sycl/include/sycl/handler.hpp +++ b/sycl/include/sycl/handler.hpp @@ -1190,11 +1190,8 @@ class __SYCL_EXPORT handler { typename detail::get_kernel_name_t::name; // 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__) && \ - !defined(DPCPP_HOST_DEVICE_OPENMP) && \ - !defined(DPCPP_HOST_DEVICE_PERF_NATIVE) && \ SYCL_LANGUAGE_VERSION >= 202012L auto [RoundedRange, HasRoundedRange] = getRoundedRange(UserRange); if (HasRoundedRange) { @@ -1224,7 +1221,6 @@ class __SYCL_EXPORT handler { #endif } else #endif // !__SYCL_DISABLE_PARALLEL_FOR_RANGE_ROUNDING__ && - // !DPCPP_HOST_DEVICE_OPENMP && !DPCPP_HOST_DEVICE_PERF_NATIVE && // SYCL_LANGUAGE_VERSION >= 202012L { (void)UserRange;