Prepare cuml for removal of deprecated raft apis
Resolves https://github.com/rapidsai/cuml/issues/7554, Depends on https://github.com/rapidsai/cuvs/pull/1610 (CI won't pass until this is merged)
What does this PR do?
- Removes lingering unused raft headers that will be deprecated such as
#include <raft/spatial/knn/knn.cuh>,#include <raft/distance/distance.cuh>, etc. - Updates to
raft::memory_type_from_pointerinstead of the deprecatedraft::spatial::knn::detail::utils::pointer_residency. - Removes
metric_processorfromknn.hppandknn.cuwhich is not needed since cuvs handles it internally. - Uses
build_dendrogram_hostfrom cuvs instead of raft.
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.
Contributors can view more details about this message here.
I've updated the PR so that pre and post processing code should functionally be the same. The goal is to remove the dependency on processing.cuh from raft which was implicitly included in #include <raft/spatial/knn/ann.cuh>. So I've taken the bits of code from processing.cuh as put it in knn.cu directly.
/merge