From 90013ba85cb0d7d18e64b79152c4574bf17e6515 Mon Sep 17 00:00:00 2001 From: "Corey J. Nolet" Date: Tue, 8 Jun 2021 16:03:25 -0400 Subject: [PATCH 01/18] Adding pq ann --- .../raft/spatial/knn/detail/ivf_pq_ann.cuh | 213 ++++++++++++++++++ cpp/include/raft/spatial/knn/knn.hpp | 86 +++++++ 2 files changed, 299 insertions(+) create mode 100644 cpp/include/raft/spatial/knn/detail/ivf_pq_ann.cuh diff --git a/cpp/include/raft/spatial/knn/detail/ivf_pq_ann.cuh b/cpp/include/raft/spatial/knn/detail/ivf_pq_ann.cuh new file mode 100644 index 0000000000..935071d87d --- /dev/null +++ b/cpp/include/raft/spatial/knn/detail/ivf_pq_ann.cuh @@ -0,0 +1,213 @@ +/* + * Copyright (c) 2020-2021, 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. + */ + + +#pragma once + +#include +#include + +#include