Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion cpp/bench/ann/src/faiss/faiss_gpu_wrapper.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION.
* SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION.
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
Expand All @@ -9,6 +9,10 @@
#include "../cuvs/cuvs_ann_bench_utils.h"
#include <cuvs/neighbors/refine.hpp>

// FAISS classes partially override the overloaded virtual Index::train, triggering
// NVCC warning 611 which -Werror=all-warnings promotes to an error.
#pragma nv_diagnostic push
#pragma nv_diag_suppress 611
#include <faiss/IndexFlat.h>
#include <faiss/IndexHNSW.h>
#include <faiss/IndexIVFFlat.h>
Expand All @@ -23,6 +27,7 @@
#include <faiss/gpu/StandardGpuResources.h>
#include <faiss/impl/ScalarQuantizer.h>
#include <faiss/index_io.h>
#pragma nv_diagnostic pop
#include <omp.h>

#include <raft/core/device_mdarray.hpp>
Expand Down