diff options
| author | Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> | 2023-07-14 15:47:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-14 12:47:06 -0700 |
| commit | 68f80f0793cff96b1fc784059a76605888593cd8 (patch) | |
| tree | f598ad500806db786ce68bf32592328fd8d0fc57 /source/core/slang-render-api-util.cpp | |
| parent | 2fa2c97d8949d31d666958564baaad948303817e (diff) | |
Robustness fixes around reverse-mode differentiation of variables & inout parameters (#2985)
* Add a new test case for checking loop in the reverse mode
* Create duplicate var for primal value to avoid inconsistent inputs to backward call
Fixes an issue with inout parameters where the backprop call may use the post-call value of the var instead of the pre-call value.
* `IRStore`s transpose to `IRLoad` and an `IRStore(0)` to clear differential.
Fixes some subtle issues around transposing
* Simplify test
* Delete out-edited.hlsl
---------
Co-authored-by: Lifan Wu <lifanw@nvidia.com>
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/core/slang-render-api-util.cpp')
0 files changed, 0 insertions, 0 deletions
