Skip to content
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: 0 additions & 4 deletions sycl/include/sycl/handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1190,11 +1190,8 @@ class __SYCL_EXPORT handler {
typename detail::get_kernel_name_t<KernelName, KernelType>::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) {
Expand Down Expand Up @@ -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;
Expand Down