<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slang.git/tests/autodiff/local-redecl-custom-jvp.slang, 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>2025-08-06T17:23:19+00:00</updated>
<entry>
<title>Fix 7723 - Add autodiff tests (#7919)</title>
<updated>2025-08-06T17:23:19+00:00</updated>
<author>
<name>Harsh Aggarwal (NVIDIA)</name>
<email>haaggarwal@nvidia.com</email>
</author>
<published>2025-08-06T17:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=d107327422b69777d41f1077c58d46c6bcf579c4'/>
<id>urn:sha1:d107327422b69777d41f1077c58d46c6bcf579c4</id>
<content type='text'>
* Fix 7723 - Add autodiff tests

* Update bug-1.slang

Adding Vulkan</content>
</entry>
<entry>
<title>Use property for `DifferentialPair` accessors. (#2493)</title>
<updated>2022-11-05T00:06:29+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2022-11-05T00:06:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=a20f6a03062d72135ae046319c378709fe2a8df6'/>
<id>urn:sha1:a20f6a03062d72135ae046319c378709fe2a8df6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make `DifferentialPair` able to nest. (#2477)</title>
<updated>2022-11-01T15:46:57+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2022-11-01T15:46:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=cbc1eff56057f199183bb7c17d8a360326512367'/>
<id>urn:sha1:cbc1eff56057f199183bb7c17d8a360326512367</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `[__custom_jvp]` -&gt; `[ForwardDerivative]`. (#2473)</title>
<updated>2022-10-27T20:08:30+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2022-10-27T20:08:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=79af29af91fb9601886d539526a4ec87bca3d74c'/>
<id>urn:sha1:79af29af91fb9601886d539526a4ec87bca3d74c</id>
<content type='text'>
* Rename `[__custom_jvp]` -&gt; `[ForwardDerivative]`.

* Rename the classes.

* More renaming.

Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
<entry>
<title>Rename `__jvp`--&gt;`__fwd_diff`. (#2471)</title>
<updated>2022-10-27T19:19:30+00:00</updated>
<author>
<name>Yong He</name>
<email>yonghe@outlook.com</email>
</author>
<published>2022-10-27T19:19:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=0cbef6fd6d7924d37ef3ea5ec7c848c80947d13f'/>
<id>urn:sha1:0cbef6fd6d7924d37ef3ea5ec7c848c80947d13f</id>
<content type='text'>
Co-authored-by: Yong He &lt;yhe@nvidia.com&gt;</content>
</entry>
<entry>
<title>Added a new differential type system and various improvements (#2343)</title>
<updated>2022-08-05T17:19:20+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2022-08-05T17:19:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=2db8c15c04f2aade49636e42f0adee636afb3b73'/>
<id>urn:sha1:2db8c15c04f2aade49636e42f0adee636afb3b73</id>
<content type='text'>
* Merge slang-ir-diff-jvp.cpp

* Added support and tests for other float vector types

* Added swizzle test and code to handle it (tests failing currently)

* Fixed one test, the other is still pending

* Fixed instruction cloning logic to avoid modifying original function

* Fixed an issue with custom 'pow_jvp' and added support for vector contructor

* Minor update to comments

* Fixed support for division

* Fixed an issue with uninitialized diagnostic sink

* Moved derivative processing to after mandatory inlining.

Skip instructions that don't have side-effects and aren't used by anything.

* WIP: Handling unconditional control flow and multi-block functions

* Support for unconditional multi-block functions

* Added a dead code elimination step to the derivative pass

* Changed name of 'hasNoSideEffects()'

* Refactored variable names

* Added initial IR defs for new type system

* Added necessary logic for semantic checking

* Overhauled type system to use builtin pair types and conform to the IDifferentiable interface

* Automatically replace IRDifferentiablePairType to a custom IRStructType

* Added generics handling by expanding the conformance context functionality and allowing for type parameters

* Minor fix: early return in processPairTypes()

* Minor fixes to differentiable resolution on generic types

* Added new instructions for differential pairs. Basic tests work now.

Looking into generic types.

* Adjusted most tests to the new type system. OutType and InOutType are still not properly working.

* Updated __jvp to produce both primal and differential output

* Moved autodiff related declarations to diff.meta.slang

* Refactored variable names

* Added initial IR defs for new type system

* Added necessary logic for semantic checking

* Overhauled type system to use builtin pair types and conform to the IDifferentiable interface

* Automatically replace IRDifferentiablePairType to a custom IRStructType

* Added generics handling by expanding the conformance context functionality and allowing for type parameters

* Minor fix: early return in processPairTypes()

* Minor fixes to differentiable resolution on generic types

* Added new instructions for differential pairs. Basic tests work now.

Looking into generic types.

* Adjusted most tests to the new type system. OutType and InOutType are still not properly working.

* Updated __jvp to produce both primal and differential output

* Moved autodiff related declarations to diff.meta.slang

* Removed external changes

* Cleanup the transcription logic: each case returns a pair of insts for the primal and differential computation.</content>
</entry>
<entry>
<title>Added support for differentiating calls to basic functions, as well as arithmetic on the float3 type (#2313)</title>
<updated>2022-07-12T03:18:06+00:00</updated>
<author>
<name>Sai Praveen Bangaru</name>
<email>31557731+saipraveenb25@users.noreply.github.com</email>
</author>
<published>2022-07-12T03:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.yummers.dev/slang.git/commit/?id=b513d0deef521318ad943d820dd37029075a33c4'/>
<id>urn:sha1:b513d0deef521318ad943d820dd37029075a33c4</id>
<content type='text'>
* Added support for differentiating calls to basic functions, as well as arithmetic on the float3 type

* Added test expected result</content>
</entry>
</feed>
