Skip to content

Commit 5690ea8

Browse files
[NFC][SYCL] Remove dead sycl::vec::SizeChecker (#16471)
1 parent 457e0d1 commit 5690ea8

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

sycl/include/sycl/vector.hpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -180,17 +180,6 @@ class __SYCL_EBO vec
180180
private:
181181
#endif // __SYCL_DEVICE_ONLY__
182182

183-
// SizeChecker is needed for vec(const argTN &... args) ctor to validate args.
184-
template <int Counter, int MaxValue, class...>
185-
struct SizeChecker : std::conditional_t<Counter == MaxValue, std::true_type,
186-
std::false_type> {};
187-
188-
template <int Counter, int MaxValue, typename DataT_, class... tail>
189-
struct SizeChecker<Counter, MaxValue, DataT_, tail...>
190-
: std::conditional_t<Counter + 1 <= MaxValue,
191-
SizeChecker<Counter + 1, MaxValue, tail...>,
192-
std::false_type> {};
193-
194183
// Utility trait for creating an std::array from an vector argument.
195184
template <typename DataT_, typename T> class FlattenVecArg {
196185
template <std::size_t... Is>

0 commit comments

Comments
 (0)