Skip to content

Commit

Permalink
Add comments after #endif
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Sobolev <[email protected]>
  • Loading branch information
dmitriy-sobolev committed Nov 15, 2024
1 parent 70cf886 commit 3284e95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1900,7 +1900,7 @@ struct __is_radix_sort_usable_for_type
__internal::__is_comp_descending<::std::decay_t<_Compare>>::value);
#else
false;
#endif
#endif // _ONEDPL_USE_RADIX_SORT
};

#if _ONEDPL_USE_RADIX_SORT
Expand All @@ -1915,7 +1915,7 @@ __parallel_stable_sort(oneapi::dpl::__internal::__device_backend_tag __backend_t
return __parallel_radix_sort<__internal::__is_comp_ascending<::std::decay_t<_Compare>>::value>(
__backend_tag, ::std::forward<_ExecutionPolicy>(__exec), ::std::forward<_Range>(__rng), __proj);
}
#endif
#endif // _ONEDPL_USE_RADIX_SORT

template <
typename _ExecutionPolicy, typename _Range, typename _Compare, typename _Proj,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ __max_sub_group_size(const _ExecutionPolicy& __policy)
//The result of get_info<sycl::info::device::sub_group_sizes>() can be empty; if so, return 0
return __supported_sg_sizes.empty() ? 0 : __supported_sg_sizes.back();
}
#endif
#endif // _ONEDPL_USE_SUB_GROUPS

template <typename _ExecutionPolicy>
::std::uint32_t
Expand Down

0 comments on commit 3284e95

Please sign in to comment.