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