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

Move HalfStepHook inheritance to python #23

Merged
merged 3 commits into from
Sep 19, 2023
Merged

Move HalfStepHook inheritance to python #23

merged 3 commits into from
Sep 19, 2023

Conversation

pabloferz
Copy link
Member

@pabloferz pabloferz commented Sep 15, 2023

Currently we define a Sampler on the C++ side which has forward_data to handle the scope of hoomd::ArrayHandle. I have renamed our C++ Sampler to CallbackHandler and have moved the definition of Sampler to the Python side. Hopefully we would sort out issues we were observing when building the conda-forge package.

The PR also adds versioning to the hoomd.dlext module, which we were missing.

@pabloferz pabloferz force-pushed the pz/overhaul branch 4 times, most recently from 72c3ce3 to baa6082 Compare September 18, 2023 06:24
@pabloferz pabloferz force-pushed the pz/overhaul branch 2 times, most recently from 8b8f003 to 87a5d05 Compare September 18, 2023 12:40
So setuptools-scm is able to detect the version.
@pabloferz pabloferz merged commit e90de42 into main Sep 19, 2023
3 checks passed
@pabloferz pabloferz deleted the pz/overhaul branch September 19, 2023 21:23
trunk-io bot pushed a commit to SSAGESLabs/PySAGES that referenced this pull request Sep 19, 2023
This PR addresses the following small but unrelated issues:

 - [x] Missed edge cases not handled by #280 (71b5fa4).
 - [x] Some recent combination of changes on either or both CuPy and Jax makes `cupy.asarray(x)` for `x: JaxArray` return a copy instead of a view (134d085).
 - [x] Upcoming compatibility changes introduced by SSAGESLabs/hoomd-dlext/pull/23 (71991b5).
 - [x] Some fonts were intended to be loaded by #281, but currently fail (e6533cd).
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