mirror of
https://github.com/facebookresearch/faiss.git
synced 2025-06-03 21:54:02 +08:00
various bugfixes from github issues kmean with some frozen centroids GPU better tiling for large flat datasets default AVX for vector ops
31 lines
700 B
C++
31 lines
700 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),
|
|
shard_type(1)
|
|
{
|
|
}
|
|
|
|
} } // namespace
|