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