Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC][SYCL] Remove dead sycl::vec::SizeChecker #16471

Open
wants to merge 1 commit into
base: sycl
Choose a base branch
from
Open
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
11 changes: 0 additions & 11 deletions sycl/include/sycl/vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,6 @@ class __SYCL_EBO vec

static constexpr int getNumElements() { return NumElements; }

// SizeChecker is needed for vec(const argTN &... args) ctor to validate args.
template <int Counter, int MaxValue, class...>
struct SizeChecker : std::conditional_t<Counter == MaxValue, std::true_type,
std::false_type> {};

template <int Counter, int MaxValue, typename DataT_, class... tail>
struct SizeChecker<Counter, MaxValue, DataT_, tail...>
: std::conditional_t<Counter + 1 <= MaxValue,
SizeChecker<Counter + 1, MaxValue, tail...>,
std::false_type> {};

// Utility trait for creating an std::array from an vector argument.
template <typename DataT_, typename T> class FlattenVecArg {
template <std::size_t... Is>
Expand Down
Loading