| 1 |
/* |
| 2 |
* Copyright (c) Meta Platforms, Inc. and 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 |
// -*- c -*- |
| 9 |
|
| 10 |
#ifndef FAISS_GPU_INDEX_C_H |
| 11 |
#define FAISS_GPU_INDEX_C_H |
| 12 |
|
| 13 |
#include "../faiss_c.h" |
| 14 |
|
| 15 |
#ifdef __cplusplus |
| 16 |
extern "C" { |
| 17 |
#endif |
| 18 |
|
| 19 |
FAISS_DECLARE_CLASS(GpuIndexConfig) |
| 20 |
|
| 21 |
FAISS_DECLARE_GETTER(GpuIndexConfig, int, device) |
| 22 |
|
| 23 |
FAISS_DECLARE_CLASS_INHERITED(GpuIndex, Index) |
| 24 |
|
| 25 |
#ifdef __cplusplus |
| 26 |
} |
| 27 |
#endif |
| 28 |
|
| 29 |
#endif |