Skip to content

Commit

Permalink
[SYCL][COMPAT] Removed unused clamp from the detail namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Alcpz committed Apr 11, 2024
1 parent 872d00b commit 61ac194
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions sycl/include/syclcompat/math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,6 @@ inline sycl::ext::oneapi::bfloat16 clamp(sycl::ext::oneapi::bfloat16 val,
}
#endif

template <typename ValueT>
inline sycl::marray<ValueT, 2> clamp(sycl::marray<ValueT, 2> val,
sycl::marray<ValueT, 2> min_val,
sycl::marray<ValueT, 2> max_val) {
return {clamp(val[0], min_val[0], max_val[0]),
clamp(val[1], min_val[1], max_val[1])};
}

template <typename VecT, class BinaryOperation, class = void>
class vectorized_binary {
public:
Expand Down

0 comments on commit 61ac194

Please sign in to comment.