Faiss
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
GpuIndex_c.h
1 /**
2  * Copyright (c) 2015-present, Facebook, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD+Patents license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8 
9 // Copyright 2004-present Facebook. All Rights Reserved.
10 // -*- c -*-
11 
12 #ifndef FAISS_GPU_INDEX_C_H
13 #define FAISS_GPU_INDEX_C_H
14 
15 #include "faiss_c.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 FAISS_DECLARE_CLASS(GpuIndexConfig)
22 
23 FAISS_DECLARE_GETTER(GpuIndexConfig, int, device)
24 
25 FAISS_DECLARE_CLASS_INHERITED(GpuIndex, Index)
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
31 #endif