forked from victorprad/InfiniTAM
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
ease-of-maintenanceResolving this issue would significantly improve ease of maintenance and future development.Resolving this issue would significantly improve ease of maintenance and future development.enhancement
Description
Occasionally the user will need to:
- Compare all values of two arrays after they are sorted for each array in a particular order (presort)
- 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.
Metadata
Metadata
Assignees
Labels
ease-of-maintenanceResolving this issue would significantly improve ease of maintenance and future development.Resolving this issue would significantly improve ease of maintenance and future development.enhancement