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 // Copyright 2004-present Facebook. All Rights Reserved.
10 #include "GpuClonerOptions.h"
11
12 namespace faiss { namespace gpu {
13
14 GpuClonerOptions::GpuClonerOptions()
15 : indicesOptions(INDICES_64_BIT),
16 useFloat16CoarseQuantizer(false),
17 useFloat16(false),
18 usePrecomputed(true),
19 reserveVecs(0),
20 storeTransposed(false),
21 verbose(false) {
22 }
23
24 GpuMultipleClonerOptions::GpuMultipleClonerOptions()
25 : shard(false),
26 shard_type(1)
27 {
28 }
29
30 } } // namespace