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

Excessive GC pressure due to temporary array allocation #29

Open
huiyuxie opened this issue Sep 3, 2024 · 1 comment
Open

Excessive GC pressure due to temporary array allocation #29

huiyuxie opened this issue Sep 3, 2024 · 1 comment
Labels
performance Improve performance

Comments

@huiyuxie
Copy link
Member

huiyuxie commented Sep 3, 2024

GC performance is bad due to lots of temporary array allocation during the kernel launching phase (used as size arrays to configure GPU resources) and the kernel running phase (used as temporary arrays to avoid control flow divergence).

Consider creating a cache to store all these temporary arrays together before running the rhs! iteration.

@huiyuxie huiyuxie added the performance Improve performance label Sep 3, 2024
@huiyuxie
Copy link
Member Author

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

No branches or pull requests

1 participant