-
Notifications
You must be signed in to change notification settings - Fork 26
Improve performance of CUDA kernels generated from manual_sparse_jacobian #4093
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
base: main
Are you sure you want to change the base?
Conversation
59848ad to
5b7e47e
Compare
sajjadazimi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM.
Co-authored-by: Teja Reddy <[email protected]>
Co-authored-by: Teja Reddy <[email protected]>
Co-authored-by: Teja Reddy <[email protected]>
|
The regression test breaks - is the behavior change expected? |
|
Also could you squash the commits? Thanks! |
|
The results have changed because |
Hoping to address small floating point differences
Purpose
Use cached values to avoid doing extra work in the kernel.
Content
The changes selectively add back use of cached variables that were removed en masse by Charlie a while back. Upon profiling with NVidia's NSight tools, we now understand that some of that caching is valuable to avoid "global" (from the GPU's perspective) memory reads.