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