Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b33f6d7
Add a native multi-threaded CPU engine for polymer simulations
paulmenzel Nov 24, 2026
3d889ae
Add Simulation(platform="native") backed by the native CPU engine
paulmenzel Nov 24, 2026
09fe191
Test the native platform against OpenMM's Reference platform
paulmenzel Nov 24, 2026
0ae6850
Stop table refinement at OpenMM's noise floor and refine after kink a…
paulmenzel Nov 25, 2026
ee1ac04
Build the tabulation template without copying the per-particle lists
paulmenzel Nov 25, 2026
af85c24
Handle fast particles without rebuilding the neighbour lists
paulmenzel Nov 25, 2026
13fc2bb
Default to one native thread per 500 particles
paulmenzel Nov 25, 2026
c076e7a
Cap the fast set and assign list-build cells in parallel
paulmenzel Nov 25, 2026
51193d9
Find fast-fast pairs through the cell grid and test the fast set
paulmenzel Nov 25, 2026
1660147
Filter list-build candidates from cell-ordered coordinates
paulmenzel Nov 25, 2026
3e3e72b
Build the native engine for x86-64-v3 as well and select it at run time
paulmenzel Nov 25, 2026
11bb07d
Fold two per-step passes over the particles into existing ones
paulmenzel Nov 25, 2026
bd52d34
Store one force vector per bond and two per angle
paulmenzel Nov 25, 2026
14e6d87
Filter list-build candidates four at a time with AVX2
paulmenzel Nov 25, 2026
5952f12
Copy the stencil runs of the list build in groups of four with AVX2
paulmenzel Nov 25, 2026
0398895
Keep the integrator's new coordinates in registers
paulmenzel Nov 25, 2026
77e38b3
Do not load per-term parameters that are the same for all terms
paulmenzel Nov 25, 2026
07945b3
Store periodic images as integer counts
paulmenzel Nov 25, 2026
0fd0367
Gather bonded forces chunk by chunk while they are in the cache
paulmenzel Nov 25, 2026
064ddf3
Keep the rare Ziggurat rejection path out of the integrator loop
paulmenzel Nov 25, 2026
ef4ca4a
Drop chain-neighbour exclusions in the list-build filter
paulmenzel Nov 25, 2026
f3bf897
Describe the per-core techniques in the engine's header comment
paulmenzel Nov 25, 2026
d008253
Fix black and flake8 findings in the native platform
paulmenzel Nov 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ polychrom/_polymer_math.cpp
dist
polychrom/*.so
.vscode
polychrom/_native_engine.cpp
polychrom/_native_engine_x86_64_v3.cpp
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include polychrom/_native/engine.hpp
include polychrom/*.pyx
include polychrom/__polymer_math.cpp
include polychrom/__polymer_math.h
Loading