c_api/gpu/GpuIndex_c.cpp
raw| 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 | #include "GpuIndex_c.h" |
| 11 | #include <faiss/gpu/GpuIndex.h> |
| 12 | #include "macros_impl.h" |
| 13 | |
| 14 | using faiss::gpu::GpuIndexConfig; |
| 15 | |
| 16 | DEFINE_GETTER(GpuIndexConfig, int, device) |