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

GPU Shared Memory #1039

Open
seanlaw opened this issue Oct 25, 2024 · 0 comments
Open

GPU Shared Memory #1039

seanlaw opened this issue Oct 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@seanlaw
Copy link
Contributor

seanlaw commented Oct 25, 2024

In all of our GPU calculations, we never utilize "shared memory" and, instead, rely heavily on storing data in the (fast but limited) "on-chip" and "thread local" GPU register. When the register fills up, data is spilled over to (very slow but more abundant) "off-chip" and "thread local" GPU local memory. However, there is a compromise that is GPU "shared memory" that, in my recent experience, can make computations 3x faster! Of course, coding using shared memory can increase the complexity of the codebase and thereby decreasing the long term readability/maintainability.

This GPU tutorial provides an EXCELLENT overview (especially Tutorial 5 was super enlightening)!

@seanlaw seanlaw self-assigned this Oct 25, 2024
@seanlaw seanlaw added the enhancement New feature or request label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant