<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/autodiff/path-tracer/pt-loop.slang.expected.txt, branch master</title>
<subtitle>Making it easier to work with shaders</subtitle>
<id>https://git.yummers.dev/slang.git/atom?h=master</id>
<link rel='self' href='https://git.yummers.dev/slang.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/'/>
<updated>2023-07-14T19:47:06+00:00</updated>
<entry>
<title>Robustness fixes around reverse-mode differentiation of variables &amp; inout parameters (#2985)</title>
<updated>2023-07-14T19:47:06+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2023-07-14T19:47:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=68f80f0793cff96b1fc784059a76605888593cd8'/>
<id>urn:sha1:68f80f0793cff96b1fc784059a76605888593cd8</id>
<content type='text'>
* 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 &lt;lifanw@nvidia.com&gt;
Co-authored-by: Yong He &lt;yonghe@outlook.com&gt;</content>
</entry>
</feed>
