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

fix: Have ReParameter only copy data when it changes #1698

Merged
merged 1 commit into from
Jun 14, 2023

Commits on Jun 14, 2023

  1. fix: Have ReParameter only copy data when it changes

    For GPU in particular, this prevents needless transfers to the device
    when no values actually change.
    
    Also, keep track of some statistics about how much ReParameter is
    being used. (Which also help to verify that this change works as
    intended.)
    
    Signed-off-by: Larry Gritz <lg@larrygritz.com>
    lgritz committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    44988f8 View commit details
    Browse the repository at this point in the history