Use a device functor with linear indexing with pairwise_point_in_polygon.
#822
Labels
improvement
Improvement / enhancement to an existing function
libcuspatial
Relates to the cuSpatial C++ library
tech debt
Related to improving software quality
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)
The text was updated successfully, but these errors were encountered: