-
Notifications
You must be signed in to change notification settings - Fork 156
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 Multipoint Equals Count function #1022
Pairwise Multipoint Equals Count function #1022
Conversation
Note skip-ci does nothing in PR titles. |
…com/cuspatial into feature/allpairs_point_equals_count
Co-authored-by: Mark Harris <783069+harrism@users.noreply.github.com>
Co-authored-by: Mark Harris <783069+harrism@users.noreply.github.com>
Co-authored-by: Mark Harris <783069+harrism@users.noreply.github.com>
…com/cuspatial into feature/allpairs_point_equals_count
Co-authored-by: Mark Harris <783069+harrism@users.noreply.github.com>
…count.cuh Co-authored-by: Mark Harris <783069+harrism@users.noreply.github.com>
…com/cuspatial into feature/allpairs_point_equals_count
namespace cuspatial { | ||
|
||
/** | ||
* @brief Compute the number of multipoint pairs that are equal. |
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.
This is not addressed yet. The original @brief is not accurate.
* @tparam MultiPointRangeA Iterator over multipoints. Must meet the requirements of | ||
* [LegacyRandomAccessIterator][LinkLRAI] and be device-accessible. | ||
* @tparam MultiPointRangeB Iterator over multipoints. Must meet the requirements of | ||
* [LegacyRandomAccessIterator][LinkLRAI] and be device-accessible. |
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.
This needs to be addressed.
@@ -0,0 +1,157 @@ | |||
/* |
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.
This file seems to be a duplicate of the one in the equality
directory. Perhaps copied here accidentally?
#include <cuspatial/experimental/pairwise_multipoint_equals_count.cuh> | ||
#include <cuspatial/experimental/ranges/multipoint_range.cuh> |
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.
This seems to be the culprit.
/merge |
Closes #1020
Description
This contribution adds
pairwise_multipoint_equals_count
to the column and header-only APIs.pairwise_multipoint_equals_count
counts the number of times that each point in the lhs occurs in the rhs.Written while pairing with @isVoid.
Checklist