faiss/tests
Richard Barnes 53fc6171a6 Remove unused variables in faiss/tests/test_threaded_index.cpp
Summary:
LLVM-15 has a warning `-Wunused-but-set-variable` which we treat as an error because it's so often diagnostic of a code issue. Unused variables can compromise readability or, worse, performance.

This diff either (a) removes an unused variable and, possibly, it's associated code, or (b) qualifies the variable with `[[maybe_unused]]`, mostly in cases where the variable _is_ used, but, eg, in an `assert` statement that isn't present in production code.

 - If you approve of this diff, please use the "Accept & Ship" button :-)

Reviewed By: palmje

Differential Revision: D53779512

fbshipit-source-id: 038967a05306d921cc09f48ae71b4e6d4eda6664
2024-02-14 15:59:23 -08:00
..
CMakeLists.txt fix omp parallelism in fast scan range search 2024-02-13 12:21:00 -08:00
common_faiss_tests.py Make tests a little less verbose 2023-07-04 07:02:53 -07:00
test_RCQ_cropping.cpp Enable for faiss tests (#3002) 2023-08-14 08:03:40 -07:00
test_approx_topk.cpp Remove unused exception parameter from files inc faiss/tests/test_approx_topk.cpp 2023-12-08 05:37:19 -08:00
test_autotune.py
test_binary_factory.py
test_binary_flat.cpp
test_binary_hashindex.py
test_binary_io.py
test_build_blocks.py Cleanup clustering code (#3030) 2023-08-31 01:11:45 -07:00
test_clone.py OSS legal requirements (#2698) 2023-02-07 14:32:56 -08:00
test_clustering.py
test_code_distance.cpp Enable for faiss tests (#3002) 2023-08-14 08:03:40 -07:00
test_contrib.py Index pretransform support in search_preassigned (#3225) 2024-01-30 09:20:07 -08:00
test_contrib_with_scipy.py faiss: use autovectorization for inner product (#2712) 2023-02-16 10:24:25 -08:00
test_cppcontrib_sa_decode.cpp Enable for faiss tests (#3002) 2023-08-14 08:03:40 -07:00
test_cppcontrib_uintreader.cpp Enable for faiss tests (#3002) 2023-08-14 08:03:40 -07:00
test_dealloc_invlists.cpp
test_distances_simd.cpp Enable for faiss tests (#3002) 2023-08-14 08:03:40 -07:00
test_documentation.py
test_doxygen_documentation.py
test_extra_distances.py Implemented Jaccard distance (#2684) 2023-02-27 07:49:42 -08:00
test_factory.py make nbits configurable for graph indices based on PQ (#3031) 2023-09-01 02:37:33 -07:00
test_fast_scan.py Support RAFT from python (#2864) 2023-05-19 20:49:01 -07:00
test_fast_scan_ivf.py Generalize ResultHanlder, support range search for HNSW and Fast Scan (#3190) 2024-01-11 11:46:30 -08:00
test_fastscan_perf.cpp fix omp parallelism in fast scan range search 2024-02-13 12:21:00 -08:00
test_graph_based.py Generalize ResultHanlder, support range search for HNSW and Fast Scan (#3190) 2024-01-11 11:46:30 -08:00
test_heap.cpp addn_query_subset_with_ids float index bug (#2834) 2023-04-28 05:14:18 -07:00
test_hnsw.cpp AVX2 version of faiss::HNSW::MinimaxHeap::pop_min() (#2874) 2023-05-26 11:35:21 -07:00
test_index.py Generalize ResultHanlder, support range search for HNSW and Fast Scan (#3190) 2024-01-11 11:46:30 -08:00
test_index_accuracy.py avx512 CI + conda packages (#3197) 2024-01-11 08:26:33 -08:00
test_index_binary.py Binary cloning and GPU range search (#2916) 2023-06-19 06:05:14 -07:00
test_index_binary_from_float.py
test_index_composite.py Search and return codes (#3143) 2023-11-25 13:57:25 -08:00
test_io.py Fix some typos (#3056) 2023-09-27 03:17:41 -07:00
test_ivf_index.cpp add a context parameter to InvertedLists and InvertedListsIterator (#3247) 2024-02-09 09:14:38 -08:00
test_ivflib.py
test_ivfpq_codec.cpp
test_ivfpq_indexing.cpp
test_local_search_quantizer.py relax test_lut rtol (#3016) 2023-08-18 03:47:19 -07:00
test_lowlevel_ivf.cpp
test_mem_leak.cpp
test_merge.cpp IndexShards with common quantizer (#2682) 2023-02-15 06:48:47 -08:00
test_merge_index.py OSS legal requirements (#2698) 2023-02-07 14:32:56 -08:00
test_meta_index.py IndexShards with common quantizer (#2682) 2023-02-15 06:48:47 -08:00
test_omp_threads.cpp
test_omp_threads_py.py
test_ondisk_ivf.cpp Remove semicolon(s) from 3 files inc facer/engine/utils/UDPServer.h 2024-02-14 14:37:40 -08:00
test_oom_exception.py
test_pairs_decoding.cpp Enable for faiss tests (#3002) 2023-08-14 08:03:40 -07:00
test_params_override.cpp
test_partition.py support range search from GPU (#2860) 2023-05-16 00:27:53 -07:00
test_partitioning.cpp faiss-gpu-raft package (#2992) 2023-08-16 09:30:41 -07:00
test_pq_encoding.cpp
test_product_quantizer.py
test_referenced_objects.py
test_refine.py Add search parameters for IndexRefine::search() and IndexRefineFlat::search() (#3122) 2023-11-05 15:07:39 -08:00
test_residual_quantizer.py fix test TestCrossCodebookComputations::test_precomp 2023-10-31 09:50:05 -07:00
test_rowwise_minmax.py
test_search_params.py fix ACCESS VIOLATION error when searching using IDSelectorArray 2024-01-29 23:08:45 -08:00
test_simdlib.cpp Enable for faiss tests (#3002) 2023-08-14 08:03:40 -07:00
test_sliding_ivf.cpp
test_standalone_codec.py Search and return codes (#3143) 2023-11-25 13:57:25 -08:00
test_threaded_index.cpp Remove unused variables in faiss/tests/test_threaded_index.cpp 2024-02-14 15:59:23 -08:00
test_transfer_invlists.cpp
torch_test_contrib.py