diff --git a/cpp/include/raft/core/mdspan.hpp b/cpp/include/raft/core/mdspan.hpp index db131ff6fa..e7a9b256cb 100644 --- a/cpp/include/raft/core/mdspan.hpp +++ b/cpp/include/raft/core/mdspan.hpp @@ -193,29 +193,6 @@ auto make_mdspan(ElementType* ptr, extents exts) return mdspan{ptr, exts}; } -/** - * @brief Create a raft::mdspan - * @tparam ElementType the data type of the matrix elements - * @tparam IndexType the index type of the extents - * @tparam LayoutPolicy policy for strides and layout ordering - * @tparam MemType the raft::memory_type for where the data are stored - * @param ptr Pointer to the data - * @param exts dimensionality of the array (series of integers) - * @return raft::mdspan - */ -template -auto make_mdspan(ElementType* ptr, extents exts) -{ - using accessor_type = - host_device_accessor, MemType>; - - return mdspan{ptr, exts}; -} - /** * @brief Create raft::extents to specify dimensionality *