Faiss
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
gpu
GpuIndicesOptions.h
1
/**
2
* Copyright (c) Facebook, Inc. and its affiliates.
3
*
4
* This source code is licensed under the MIT license found in the
5
* LICENSE file in the root directory of this source tree.
6
*/
7
8
9
#pragma once
10
11
namespace
faiss {
namespace
gpu {
12
13
/// How user vector index data is stored on the GPU
14
enum
IndicesOptions {
15
/// The user indices are only stored on the CPU; the GPU returns
16
/// (inverted list, offset) to the CPU which is then translated to
17
/// the real user index.
18
INDICES_CPU = 0,
19
/// The indices are not stored at all, on either the CPU or
20
/// GPU. Only (inverted list, offset) is returned to the user as the
21
/// index.
22
INDICES_IVF = 1,
23
/// Indices are stored as 32 bit integers on the GPU, but returned
24
/// as 64 bit integers
25
INDICES_32_BIT = 2,
26
/// Indices are stored as 64 bit integers on the GPU
27
INDICES_64_BIT = 3,
28
};
29
30
} }
// namespace
Generated by
1.8.5