From 37ce88f90067bcf1a58ea2e8d6b1488c1e30e60a Mon Sep 17 00:00:00 2001 From: Ben Frederickson Date: Tue, 3 Dec 2024 20:28:39 -0800 Subject: [PATCH] remove duplicate template instantiations --- cpp/CMakeLists.txt | 1 - cpp/src/distance/kernel_gram.cu | 28 ---------------------------- 2 files changed, 29 deletions(-) delete mode 100644 cpp/src/distance/kernel_gram.cu diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index c3e97fd88..00e3311ca 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -371,7 +371,6 @@ if(BUILD_SHARED_LIBS) src/distance/detail/pairwise_matrix/dispatch_l2_expanded_float_float_float_int64_t.cu src/distance/detail/fused_distance_nn.cu src/distance/distance.cu - src/distance/kernel_gram.cu src/distance/pairwise_distance.cu src/distance/sparse_distance.cu src/embed/spectral.cu diff --git a/cpp/src/distance/kernel_gram.cu b/cpp/src/distance/kernel_gram.cu deleted file mode 100644 index 78cd2d065..000000000 --- a/cpp/src/distance/kernel_gram.cu +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2024, NVIDIA CORPORATION. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -namespace cuvs::distance::kernels { - -template class KernelFactory; - -template class KernelFactory; - -template class GramMatrixBase; -template class GramMatrixBase; - -}; // end namespace cuvs::distance::kernels