12 #ifndef FAISS_GPU_AUTO_TUNE_C_H
13 #define FAISS_GPU_AUTO_TUNE_C_H
16 #include "GpuClonerOptions_c.h"
17 #include "GpuResources_c.h"
18 #include "GpuIndex_c.h"
26 int faiss_index_gpu_to_cpu(
const FaissIndex* gpu_index, FaissIndex** p_out);
29 int faiss_index_cpu_to_gpu(
30 FaissGpuResources* resources,
int device,
31 const FaissIndex *index, FaissGpuIndex** p_out);
34 int faiss_index_cpu_to_gpu_with_options(
35 FaissGpuResources* resources,
int device,
36 const FaissIndex *index,
const FaissGpuClonerOptions* options,
37 FaissGpuIndex** p_out);
40 FAISS_DECLARE_CLASS_INHERITED(GpuParameterSpace, ParameterSpace)