Skip to content

Inlining queries for the (fully) implicit triangulation - #972

Merged
julien-tierny merged 12 commits into
topology-tool-kit:devfrom
julien-tierny:implicitInlining
Sep 29, 2023
Merged

julien-tierny merged 12 commits into
topology-tool-kit:devfrom
julien-tierny:implicitInlining

Conversation

@julien-tierny

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

Copy link
Copy Markdown
Collaborator

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
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