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

Add convert() for geometries #1147

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Add convert() for geometries #1147

merged 3 commits into from
Sep 25, 2024

Conversation

aprokop
Copy link
Contributor

@aprokop aprokop commented Sep 20, 2024

Spurred by the discussion in #1146.

Add a convert function. Currently only for points.

The interface differs from Boost's convert, as to streamline its usage in our code (right now, we only use its result to immediately construct spheres). May change in the future should we want it.

@aprokop aprokop added the refactoring Code reorganization label Sep 20, 2024
Copy link
Contributor

@dalg24 dalg24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you look at performance?

src/geometry/ArborX_DetailsAlgorithms.hpp Show resolved Hide resolved
@aprokop
Copy link
Contributor Author

aprokop commented Sep 25, 2024

Did you look at performance?

I did not see any difference on DBSCAN benchmark.

Copy link
Contributor

@dalg24 dalg24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you look at performance?

I did not see any difference on DBSCAN benchmark.

Fine then

@aprokop
Copy link
Contributor Author

aprokop commented Sep 25, 2024

Ignoring one build failure (Child aborted in CUDA 11.5.2 tests).

@aprokop aprokop merged commit 39d5f67 into arborx:master Sep 25, 2024
1 of 2 checks passed
@aprokop aprokop deleted the convert branch September 25, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code reorganization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants