diff --git a/cpp/bench/spatial/knn.cu b/cpp/bench/spatial/knn.cu index 64a1217d7f..98721b4a63 100644 --- a/cpp/bench/spatial/knn.cu +++ b/cpp/bench/spatial/knn.cu @@ -19,6 +19,12 @@ #include #include +#include + +#if defined RAFT_DISTANCE_COMPILED +#include +#endif + #if defined RAFT_NN_COMPILED #include #endif