2018-02-26 10:23:17 +00:00
|
|
|
/**
|
2019-06-12 14:46:08 +01:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2018-02-26 10:23:17 +00:00
|
|
|
*
|
2019-06-12 14:46:08 +01:00
|
|
|
* This source code is licensed under the MIT license found in the
|
2018-02-26 10:23:17 +00:00
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
// -*- c++ -*-
|
|
|
|
|
|
|
|
#include "GpuIndex_c.h"
|
2021-02-25 04:44:50 -08:00
|
|
|
#include <faiss/gpu/GpuIndex.h>
|
2018-02-26 10:23:17 +00:00
|
|
|
#include "macros_impl.h"
|
|
|
|
|
|
|
|
using faiss::gpu::GpuIndexConfig;
|
|
|
|
|
|
|
|
DEFINE_GETTER(GpuIndexConfig, int, device)
|