2017-06-21 06:54:28 -07:00
|
|
|
/**
|
2019-05-28 16:17:22 +02:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2017-06-21 06:54:28 -07:00
|
|
|
*
|
2019-05-28 16:17:22 +02:00
|
|
|
* This source code is licensed under the MIT license found in the
|
2017-06-21 06:54:28 -07:00
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "GpuClonerOptions.h"
|
|
|
|
|
|
|
|
namespace faiss { namespace gpu {
|
|
|
|
|
|
|
|
GpuClonerOptions::GpuClonerOptions()
|
|
|
|
: indicesOptions(INDICES_64_BIT),
|
|
|
|
useFloat16CoarseQuantizer(false),
|
|
|
|
useFloat16(false),
|
|
|
|
usePrecomputed(true),
|
|
|
|
reserveVecs(0),
|
|
|
|
storeTransposed(false),
|
|
|
|
verbose(false) {
|
|
|
|
}
|
|
|
|
|
|
|
|
GpuMultipleClonerOptions::GpuMultipleClonerOptions()
|
2017-11-22 05:11:28 -08:00
|
|
|
: shard(false),
|
|
|
|
shard_type(1)
|
|
|
|
{
|
2017-06-21 06:54:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
} } // namespace
|