From 25617ad8a3c5e987af9074ef14c5ffcb57b1866f Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Tue, 17 Dec 2024 21:35:32 +0000 Subject: [PATCH] Make sure logger-macros are included in every header that uses RAFT_LOG_TRACE_VEC --- cpp/include/raft/cluster/detail/kmeans_balanced.cuh | 1 + cpp/include/raft/neighbors/detail/ivf_flat_build.cuh | 1 + cpp/include/raft/neighbors/detail/ivf_flat_search-inl.cuh | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cpp/include/raft/cluster/detail/kmeans_balanced.cuh b/cpp/include/raft/cluster/detail/kmeans_balanced.cuh index 0a5a3ba5aa..5dcd679bd5 100644 --- a/cpp/include/raft/cluster/detail/kmeans_balanced.cuh +++ b/cpp/include/raft/cluster/detail/kmeans_balanced.cuh @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/cpp/include/raft/neighbors/detail/ivf_flat_build.cuh b/cpp/include/raft/neighbors/detail/ivf_flat_build.cuh index 55184cc615..0e00ef571f 100644 --- a/cpp/include/raft/neighbors/detail/ivf_flat_build.cuh +++ b/cpp/include/raft/neighbors/detail/ivf_flat_build.cuh @@ -17,6 +17,7 @@ #pragma once #include +#include #include #include #include diff --git a/cpp/include/raft/neighbors/detail/ivf_flat_search-inl.cuh b/cpp/include/raft/neighbors/detail/ivf_flat_search-inl.cuh index 388dd60f14..44d55c36de 100644 --- a/cpp/include/raft/neighbors/detail/ivf_flat_search-inl.cuh +++ b/cpp/include/raft/neighbors/detail/ivf_flat_search-inl.cuh @@ -16,7 +16,8 @@ #pragma once -#include // RAFT_LOG_TRACE +#include +#include #include #include // raft::resources #include // is_min_close, DistanceType