diff --git a/cpp/include/raft/spatial/knn/ann.hpp b/cpp/include/raft/spatial/knn/ann.hpp index e8cc85256d..6ce9463e43 100644 --- a/cpp/include/raft/spatial/knn/ann.hpp +++ b/cpp/include/raft/spatial/knn/ann.hpp @@ -20,7 +20,7 @@ #include "detail/ann_quantized_faiss.cuh" #include -#include +#include #include diff --git a/cpp/include/raft/spatial/knn/ann_common.h b/cpp/include/raft/spatial/knn/ann_common.h index 573a23181d..79f75dc8ae 100644 --- a/cpp/include/raft/spatial/knn/ann_common.h +++ b/cpp/include/raft/spatial/knn/ann_common.h @@ -19,7 +19,7 @@ #include #include -#include +#include namespace raft { namespace spatial { @@ -30,7 +30,7 @@ struct knnIndex { raft::distance::DistanceType metric; float metricArg; - faiss::gpu::StandardGpuResources* gpu_res; + raft::spatial::knn::RmmGpuResources* gpu_res; int device; ~knnIndex() { diff --git a/cpp/include/raft/spatial/knn/detail/ann_quantized_faiss.cuh b/cpp/include/raft/spatial/knn/detail/ann_quantized_faiss.cuh index ff08917585..1c2f21b72c 100644 --- a/cpp/include/raft/spatial/knn/detail/ann_quantized_faiss.cuh +++ b/cpp/include/raft/spatial/knn/detail/ann_quantized_faiss.cuh @@ -28,6 +28,7 @@ #include