-
Notifications
You must be signed in to change notification settings - Fork 50
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
Modernize freud binding, build system, and CI. #1308
base: main
Are you sure you want to change the base?
Conversation
Porting interface module
Nanobind port: Cluster module
The implementation of `reduceAndReturn` does not allow the previous pattern of calling `prepare` in `reduce`. In the new implemtnation, `reduceAndReturn` will return the OLD array even after the new one is created. The solution is to override `reset`. In subclasses of `BondHistogramCompute`, `reset` *must* call the base class implemtnation which resets `m_historgram`. The subclass must then make new shared arrays that are specific to that subclass. Lastly, the arrays must also be initialized in the constructor to allow for the user to construct the class and use it without calling `reset` first.
Nanobind Cluster
Bump CI dependencies to the latest versions.
Nanobind density changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was pinged on this as a code reviewer, so I wanted to stop by just to congratulate the team on the immense amount of work that has gone in here. I had a couple small questions, but nothing blocking. I offer my greatest thanks for all the effort in maintaining a project that was a fond part of my time in the Glotzer lab.
options: | ||
- MacOS | ||
- CPU | ||
- GPU |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does freud have GPU support now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is a copy and paste error.
.github/CODEOWNERS
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How will code reviews be managed going forward?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR submitter will request a review, typically over Slack or in person.
Thanks for looking at this. If I recall correctly, you helped a lot with the boost::python to Cython transition. The extensive unit testing added as part of that was a huge help here. The thorough tests caught many corner cases as we ported the internals over to nanobind. |
Description
A big thanks to the large number of people who helped complete this refactoring!
Motivation and Context
Make it easier for developers to improve freud.
How Has This Been Tested?
Checklist: