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

HybridGenerator: Asyncronous + parallel event generation #13788

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

sawenzel
Copy link
Collaborator

This introduces:

  • asyncronous event generation
  • possibility for parallel event generation

This is useful for:

  • hiding latency (IO) of certain generators
  • decoupling the actual work from the call sequence into HybridGenerator
  • collaboration from multiple clones of the same generator to generate a certain number of events

The implementation relies on tbb::task_arena and input/output queues for decoupling the task_arena from the HybridGenerator thread.

Small adjustments to seeding of Pythia8 in order
to avoid same seeds in multiple parallel Pythia instances.

This introduces:
* asyncronous event generation
* possibility for parallel event generation

This is useful for:
* hiding latency (IO) of certain generators
* decoupling the actual work from the call sequence into HybridGenerator
* collaboration from multiple clones of the same generator to generate
  a certain number of events

The implementation relies on tbb::task_arena and input/output queues
for decoupling the task_arena from the HybridGenerator thread.

Small adjustments to seeding of Pythia8 in order
to avoid same seeds in multiple parallel Pythia instances.
@sawenzel sawenzel requested a review from jackal1-66 as a code owner December 10, 2024 13:43
Copy link
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant