Skip to content
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

Use a device functor with linear indexing with pairwise_point_in_polygon. #822

Open
thomcom opened this issue Nov 28, 2022 · 0 comments
Open
Labels
improvement Improvement / enhancement to an existing function libcuspatial Relates to the cuSpatial C++ library tech debt Related to improving software quality

Comments

@thomcom
Copy link
Contributor

thomcom commented Nov 28, 2022

Since this uses trivial linear indexing, this should be a device functor instead of a kernel, and call it from a thrust::transform() rather than launching a kernel. This way cuSpatial doesn't have to handle grid sizing, grid stride loops, etc.

Originally posted by @harrism in #750 (comment)

@harrism harrism added improvement Improvement / enhancement to an existing function libcuspatial Relates to the cuSpatial C++ library labels Nov 28, 2022
@jarmak-nv jarmak-nv added the tech debt Related to improving software quality label Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function libcuspatial Relates to the cuSpatial C++ library tech debt Related to improving software quality
Projects
Status: No status
Development

No branches or pull requests

3 participants