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

Overlap communication with computation in multiply_module #265

Open
tkoskela opened this issue Sep 20, 2023 · 2 comments
Open

Overlap communication with computation in multiply_module #265

tkoskela opened this issue Sep 20, 2023 · 2 comments
Assignees

Comments

@tkoskela
Copy link
Contributor

          Things to look out for

Originally posted by @tkoskela in #248 (comment)

  • Can we use OpenMP tasks to both receive data and call multiply kernels, with appropriate dependencies
@tkoskela
Copy link
Contributor Author

Investigate non-blocking receives in prefetch. Fetch first iteration of data with a blocking receive (or wait) before the main loop. Then receive next iteration of data while computing the current interation.

@tkoskela
Copy link
Contributor Author

tkoskela commented Oct 9, 2023

  • Receive data for first iteration of main loop before the loop starts
  • Post nonblocking receives and sends for next iteration on master thread
  • Perform threaded computation in the compute kernels
  • After computation is finished, wait for nonblocking communications have finished.

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

No branches or pull requests

2 participants