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

Feature/reduce compilation #10

Merged
merged 18 commits into from
Jul 19, 2024
Merged

Conversation

nathanhhughes
Copy link
Collaborator

First attempt to reduce compilation costs for the library. I'm seeing about a 5 second speedup with 12 cores (but it is a little bit slower if you have less cores and you're compiling the bindings because I split the binding code into multiple files)

@nathanhhughes nathanhhughes marked this pull request as ready for review July 19, 2024 19:58
Copy link
Contributor

@GoldenZephyr GoldenZephyr left a comment

Choose a reason for hiding this comment

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

looks good to me!

@nathanhhughes nathanhhughes merged commit 5fdaed4 into develop Jul 19, 2024
2 checks passed
@nathanhhughes nathanhhughes deleted the feature/reduce_compilation branch July 19, 2024 20:19
nathanhhughes added a commit that referenced this pull request Jul 24, 2024
* forward declare DynamicSceneGraph where possible

* rework NodeSymbol and hide eigen in new file

* forward declare node attributes and some bounding boxes

* forward declare mesh for bounding box

* forward declare edge attributes and remove graph utilities from layer

* split bindings into separate files

* push edges towards derived layers

* (wip) move traits and status

* split layer prefix from types

* minor cleanup of node

* simplify eraseVertices

* drop getPosition and eigen dep

* drop node symbol include

* remove typedef from

* add missing bindings and fix compilation

* add binary serialization for python layers

* fix pytorch tests

* remove commented code

---------

Co-authored-by: Nathan Hughes <na26933@mit.edu>
nathanhhughes added a commit that referenced this pull request Dec 12, 2024
* forward declare DynamicSceneGraph where possible

* rework NodeSymbol and hide eigen in new file

* forward declare node attributes and some bounding boxes

* forward declare mesh for bounding box

* forward declare edge attributes and remove graph utilities from layer

* split bindings into separate files

* push edges towards derived layers

* (wip) move traits and status

* split layer prefix from types

* minor cleanup of node

* simplify eraseVertices

* drop getPosition and eigen dep

* drop node symbol include

* remove typedef from

* add missing bindings and fix compilation

* add binary serialization for python layers

* fix pytorch tests

* remove commented code

---------

Co-authored-by: Nathan Hughes <na26933@mit.edu>
nathanhhughes added a commit that referenced this pull request Dec 12, 2024
* forward declare DynamicSceneGraph where possible

* rework NodeSymbol and hide eigen in new file

* forward declare node attributes and some bounding boxes

* forward declare mesh for bounding box

* forward declare edge attributes and remove graph utilities from layer

* split bindings into separate files

* push edges towards derived layers

* (wip) move traits and status

* split layer prefix from types

* minor cleanup of node

* simplify eraseVertices

* drop getPosition and eigen dep

* drop node symbol include

* remove typedef from

* add missing bindings and fix compilation

* add binary serialization for python layers

* fix pytorch tests

* remove commented code

---------

Co-authored-by: Nathan Hughes <na26933@mit.edu>
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.

2 participants