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

Elect one thread and stick to it #3582

Open
zasdfgbnm opened this issue Dec 12, 2024 · 0 comments
Open

Elect one thread and stick to it #3582

zasdfgbnm opened this issue Dec 12, 2024 · 0 comments
Labels

Comments

@zasdfgbnm
Copy link
Collaborator

In load warp (and prologue), we are doing things like:

for:
  if elect-sync:
    load

That is, for every iteration, we elect a thread, and use that thread to load data.

Looks like it is better to just elect one thread at the beginning, and just use this thread to do all the work. Something like:

if elect-sync:
  for:
    load

See experiment at #3564

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

No branches or pull requests

1 participant