-
Notifications
You must be signed in to change notification settings - Fork 3
Implement thread parallelism #61
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
Conversation
…tion. update tests.
|
@neutrinoceros I recall you had tried threading at the python level and didn't see any benefit. This update adds threading to the backend for the Example case that roughly reflects a 10-megapixel image shows nearly linear speedup for all interpolant and grid kinds: |
|
Thanks for the ping ! This is pretty exciting to hear, I'll drop you a line whatever the impact I see in my applications ! |

0.10.0 2026-01-10
Added
interpn,interpn_allocandinterpn_serialmethods along with supporting enums for selecting methodsparfeature, enabled by default, that enables parallelism with rayon ininterpnfunctionChanged
interpnfunctioncheck_bounds: boolandbounds_check_atol: floattocheck_bounds_with_atol: float | Noneassume_regularinput with optionalgrid_kindto allow assuming either regular or rectilinear, or making no assumptionmax_threads: int | Noneinput to allow manually limiting parallelisminterpnfunction as backend for method selection, bounds checks, and parallelism