Faiss

- Main Page
- Namespaces
- Classes
- Files

- File List

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
GpuClonerOptions.cpp
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 #include "GpuClonerOptions.h"
10
11 namespace faiss { namespace gpu {
12
13 GpuClonerOptions::GpuClonerOptions()
14 : indicesOptions(INDICES_64_BIT),
15 useFloat16CoarseQuantizer(false),
16 useFloat16(false),
17 usePrecomputed(true),
18 reserveVecs(0),
19 storeTransposed(false),
20 verbose(false) {
21 }
22
23 GpuMultipleClonerOptions::GpuMultipleClonerOptions()
24 : shard(false),
25 shard_type(1)
26 {
27 }
28
29 } } // namespace