faiss/gpu/GpuClonerOptions.cpp

29 lines
679 B
C++

/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD+Patents license found in the
* LICENSE file in the root directory of this source tree.
*/
// Copyright 2004-present Facebook. All Rights Reserved.
#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()
: shard(false) {
}
} } // namespace