-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
k-d tree speedup (nanoflann / CUDA) #5299
base: master
Are you sure you want to change the base?
Conversation
…r KdTreeFLANN added maximum leaf node size getter to KdTree base class
…Size for KdTreeFLANN
fixed template instantiation added compile definition
This seems useful, might a maintainer take a look? |
how about range search? is nanoflann quicker than flann? |
Hi, sorry for not replying earlier! I am not sure if you, @yasamoka , are still interested in working on this pull request and getting it merged (I would understand if not). Either way, here are my thoughts and questions:
I will have more comments once I start reviewing in detail, but these are the most important high-level things for now. |
This pull request provides tested kd-tree implementations using Nanoflann (CPU) and FLANN (CUDA) as well as the addition of the ability to set the max leaf size for any kd-tree implementation.
Benchmarks comparing FLANN (CPU), Nanoflann (CPU), and FLANN (CUDA) can be found here: https://yasamoka.github.io/pcl-knn-benchmark/
I am not sure if there is a better way of modifying CMake scripts to satisfy dependencies. If there is, then I would appreciate help with that.
Regarding documentation, I placed the FLANN CUDA implementation with the
kdtree
module. This has good visibility for users of k-d trees. Shall I move it to its own module (e.g.cuda/kdtree
)? Is it possible to have 2 levels like that?Thank you very much!