Skip to content

Parallelization #161

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

Merged
merged 19 commits into from
May 29, 2025
Merged

Parallelization #161

merged 19 commits into from
May 29, 2025

Conversation

orxfun
Copy link
Owner

@orxfun orxfun commented May 25, 2025

This release provides the initial support for parallelization over trees:

  • Introduces par and into_par methods on the Tree. These methods create parallel iterators over all nodes of the tree in arbitrary order. In other words, they are the parallel counterpart of the iter and into_iter methods of the tree.
  • These implementations use direct parallelization over the underlying pinned vector, and hence, result in efficient gains in computation time. Benchmarks and examples are added to test and experiment parallel computations.
  • Parallel execution is handled by the orx-parallel crate which is added as an optional dependency. Importantly note that "orx-parallel" requires "std". Therefore, for no-std use cases this features must be excluded. Since "orx-parallel" is added as a default feature, it must be excluded by --no-default-features.

@orxfun orxfun merged commit 6d3f76a into main May 29, 2025
2 checks passed
@orxfun orxfun deleted the parallelization branch May 29, 2025 08:05
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