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

Inlining queries for the (fully) implicit triangulation #972

Merged
merged 12 commits into from
Sep 29, 2023

Conversation

julien-tierny
Copy link
Collaborator

@julien-tierny julien-tierny commented Sep 28, 2023

The PR inlines some queries in the implementation of the (fully) implicit triangulation.
As discussed in the PR #971, this results in a 15% gain for discrete gradient computation (in parallel, 24 cores) on a 512³ dataset (ctBones, tested: bitwise compatibility on the output with the dev branch).

Note that, as discussed at the end of PR #971, several experiments (for instance, see the commits up to 57d7181) were made to further inline this class. However this resulted in a decreased gain (possibly due to the size of the inlined code saturating the cpu cache).

@julien-tierny julien-tierny merged commit 92aee47 into topology-tool-kit:dev Sep 29, 2023
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant