From 4de5f39f13ee703d321a8e7094f8bde2e167603a Mon Sep 17 00:00:00 2001 From: says1117 Date: Thu, 16 Jul 2026 14:47:09 -0400 Subject: [PATCH] Remove orphaned raft::runtime::matrix::select_k declaration Closes #3028. The header declared raft::runtime::matrix::select_k but had no corresponding implementation anywhere in the repo, was not listed as a CMake build source, and produced no linkable symbols in libraft. Traced to PR #2498 (implementation removed) and PR #2885 (later raft_runtime cleanup that missed this file). The working select_k implementation remains at raft/matrix/select_k.cuh. --- cpp/include/raft_runtime/matrix/select_k.hpp | 22 -------------------- 1 file changed, 22 deletions(-) delete mode 100644 cpp/include/raft_runtime/matrix/select_k.hpp diff --git a/cpp/include/raft_runtime/matrix/select_k.hpp b/cpp/include/raft_runtime/matrix/select_k.hpp deleted file mode 100644 index ec50293aa6..0000000000 --- a/cpp/include/raft_runtime/matrix/select_k.hpp +++ /dev/null @@ -1,22 +0,0 @@ -/* - * SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION. - * SPDX-License-Identifier: Apache-2.0 - */ - -#pragma once - -#include -#include -#include - -#include - -namespace raft::runtime::matrix { -void select_k(const resources& handle, - raft::device_matrix_view in_val, - std::optional> in_idx, - raft::device_matrix_view out_val, - raft::device_matrix_view out_idx, - bool select_min); - -} // namespace raft::runtime::matrix