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

Improve GPU performance #15

Closed
ar4 opened this issue Jul 25, 2018 · 0 comments
Closed

Improve GPU performance #15

ar4 opened this issue Jul 25, 2018 · 0 comments

Comments

@ar4
Copy link
Owner

ar4 commented Jul 25, 2018

There are currently many opportunities for improving GPU performance. These include:

  • replacing atomicAdd in imaging_condition, such as with a parallel reduction sum
  • replacing atomicAdd in add_sources, such as by combining sources that are in the same cell
  • only performing the full PML calculation in the PML regions with the simpler plain wave equation in the interior
  • using shared memory for the finite difference calculations
  • adding the option to use cuDNN for the finite difference calculations
  • tuning the threadblock sizes
@ar4 ar4 closed this as completed in 89ae04d Jul 28, 2018
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

1 participant