diff --git a/dpctl/apis/include/dpctl4pybind11.hpp b/dpctl/apis/include/dpctl4pybind11.hpp index 6e1a9fe3da..6d36089bf2 100644 --- a/dpctl/apis/include/dpctl4pybind11.hpp +++ b/dpctl/apis/include/dpctl4pybind11.hpp @@ -43,21 +43,6 @@ namespace dpctl namespace detail { -// Lookup a type according to its size, and return a value corresponding to the -// NumPy typenum. -template constexpr int platform_typeid_lookup() -{ - return -1; -} - -template -constexpr int platform_typeid_lookup(int I, Ints... Is) -{ - return sizeof(Concrete) == sizeof(T) - ? I - : platform_typeid_lookup(Is...); -} - class dpctl_capi { public: