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 initial support for pointers in reverse mode #686

Merged
merged 1 commit into from
Dec 30, 2023

Commits on Dec 30, 2023

  1. Add initial support for pointers in reverse mode

    This commit adds support for pointer operation in reverse mode. The technique is to maintain a corresponding derivative pointer variable, which gets updated (and stored/restored) in the exact same way as the primal pointer variable in both forward and reverse passes.
    Added a workaround (with a FIXME comment) in the UsefulToStoreGlobal method to essentially bypass TBR analysis results for pointer expr.
    
    Fixes vgvassilev#195, Fixes vgvassilev#197
    vaithak committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    44b6c50 View commit details
    Browse the repository at this point in the history