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

Add GPU Gems n-body for reference #221

Merged
merged 3 commits into from
Apr 30, 2021

Conversation

bernhardmgruber
Copy link
Member

@bernhardmgruber bernhardmgruber commented Apr 30, 2021

Adds the GPU Gems n-body example for comparison with the following adaptation:

  • Allow multiple particles loaded per thread.
  • Add timestep multiplication and use rsqrt.
  • Allow compilation with double.

Also adds a Split AoS mapping variant with LLAMA, which has a similar memory layout than the GPU gems version.

* allow multiple particles loaded per thread
* add timestep multiplication and use rsqrt
* allow compilation with double
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