Skip to content

Commit

Permalink
[NFC][SYCL] Use __SYCL2020_DEPRECATED macro for any/all builtins (int…
Browse files Browse the repository at this point in the history
…el#13237)

To indicate that they are still part of the specification and cannot be
removed from the implementation.
  • Loading branch information
aelovikov-intel authored Apr 2, 2024
1 parent 2cade96 commit 0557c7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/include/sycl/detail/builtins/relational_functions.inc
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ typename detail::builtin_enable_rel_all_any<T>::type any(T x) {
}

template <typename T>
__SYCL_DEPRECATED("This overload is deprecated in SYCL 2020.")
__SYCL2020_DEPRECATED("This overload is deprecated in SYCL 2020.")
typename detail::builtin_enable_rel_all_any_deprecated<T>::type any(T x) {
if constexpr (detail::is_marray_v<T>) {
return std::any_of(x.begin(), x.end(),
Expand All @@ -196,7 +196,7 @@ typename detail::builtin_enable_rel_all_any<T>::type all(T x) {
}

template <typename T>
__SYCL_DEPRECATED("This overload is deprecated in SYCL 2020.")
__SYCL2020_DEPRECATED("This overload is deprecated in SYCL 2020.")
typename detail::builtin_enable_rel_all_any_deprecated<T>::type all(T x) {
if constexpr (detail::is_marray_v<T>) {
return std::all_of(x.begin(), x.end(),
Expand Down

0 comments on commit 0557c7b

Please sign in to comment.