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

Finish presorting and matching for raw array comparison #308

Open
Algomorph opened this issue Jan 5, 2021 · 0 comments
Open

Finish presorting and matching for raw array comparison #308

Algomorph opened this issue Jan 5, 2021 · 0 comments
Labels
ease-of-maintenance Resolving this issue would significantly improve ease of maintenance and future development. enhancement

Comments

@Algomorph
Copy link
Owner

Occasionally the user will need to:

  1. Compare all values of two arrays after they are sorted for each array in a particular order (presort)
  2. Compare all values of two arrays using approximate matching, e.g. match each value of array 1 with the first value found in array 2 within epsilon (note the difference between the two).

The implementation for (1) had already begun, but some thrust specifics escape me, thus the code is commented out for CUDA-to-CUDA comparison. The implementation for (2) can be gleaned from one of the tests in Test_RaycastingEngine, where the operation is performed by first sorting the values, then keeping a buffer of all encountered "unmatched" values from array1 and array2 and attempting to match them with each newly-encountered value.

@Algomorph Algomorph added ease-of-maintenance Resolving this issue would significantly improve ease of maintenance and future development. enhancement labels Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ease-of-maintenance Resolving this issue would significantly improve ease of maintenance and future development. enhancement
Projects
None yet
Development

No branches or pull requests

1 participant