-
Notifications
You must be signed in to change notification settings - Fork 154
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
Pairwise Point to Point Distance; Rename Folder distances
to distance
#558
Pairwise Point to Point Distance; Rename Folder distances
to distance
#558
Conversation
Co-authored-by: Mark Harris <mharris@nvidia.com>
…into feature/point_distance
…into feature/point_distance
distances
to distance
distances
to distance
distances
to distance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving CMake changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. A couple of missing tests and other nits.
static_assert( | ||
detail::is_floating_point<T, | ||
typename std::iterator_traits<Cart2dItB>::value_type::value_type, | ||
typename std::iterator_traits<OutputIt>::value_type>(), | ||
"Inputs and output must be floating point types."); | ||
|
||
static_assert(detail::is_same<T, typename std::iterator_traits<OutputIt>::value_type>(), | ||
"Inputs and output must be the same types."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we merge #579 you can replace this with is_same_floating_point
.
Also need to update paths in Cython files to fix the build. |
Our cython file org fell out of sync with cpp file org. So in this PR I also moved them into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @isVoid !
@gpucibot merge |
Implements 2D point-point L2 distance. Also renamed folder
distances
intodistance
Contributes to #231