From 3833ceecf819aa6cee4b378e6b920b1dae6b5408 Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Sun, 19 Apr 2026 13:36:39 -0700 Subject: [PATCH] remove unused platform_typeid_lookup leftover from tensor migration --- dpctl/apis/include/dpctl4pybind11.hpp | 15 --------------- 1 file changed, 15 deletions(-) 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: