-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
KNN Implementation #44
Comments
Thanks for the references. (I can try to put together an inplementation around mid Feb). Feel free to submit a PR if you want. Even if it is not highly optimized, a simple update of the code in rodinia to latest CUDA version is acceptable to get things going. |
There is an internal function _nearest_neighbors which compute the nearest 1 neighbor between batched pointcloud. The GPU implementation is very naive, but the CPU version working well, if this helps. |
I missed this _nearest_neighbors (gpu). I believe the advantages of the pytorch implementation are:
The rodinia findLowest apparently runs on the CPU. I may be able to get a PR together before mid Feb. Thanks for the quick responses. |
@jenkspt the link is not working |
Oops. Fixed it. |
I'm interested in a fast GPU implementation for k nearest neighbor queries -- similar to pytorch3d.ops.knn_points. Flux3D seems like an appropriate place for this to live.
Relevant pytorch3d code:
pytorch3d/csrc/knn
pytorch3d/csrc/utils/mink.cuh
Relevant Julia code:
https://github.com/JuliaParallel/rodinia/blob/master/julia_cuda/nn/nn.jl
The text was updated successfully, but these errors were encountered: