https://github.com/shader-slang/slang
Revision 1093218d6f0e114eb9fa52d60ca525bf9dd9f98a authored by Sai Praveen Bangaru on 20 October 2022, 18:22:00 UTC, committed by GitHub on 20 October 2022, 18:22:00 UTC
* Modified the new type system to support generic differentiable types and added support for differentiating overloaded functions.

* Changed a few asserts to release asserts to avoid unreferenced variable errors

* Fixed a naming issue with TypeWitnessBreadcumb::Flavor::Decl

* Added logic to avoid tracking differentiable types if the module does not use auto-diff or define differentiable types.

* Moved the auto-diff passes to after the specialization step, added a more complex generics test

* Added a generics stress test and fixed AST-side logic. IR side needs some more work

* Added differential getter and setter logic, fixed multiple issues with DifferentiableTypeDictionary, added support for loops and conditions

* Changed differential getters to use pointer types, added getter type checking

* Fixed some bugs related to diff type registration and differential getters

* Removed some superfluous code

* Removed some more unused code.

* Fixed an issue with witness substitution

* Minor fix

Co-authored-by: Yong He <yonghe@outlook.com>
1 parent 576c840
History
Tip revision: 1093218d6f0e114eb9fa52d60ca525bf9dd9f98a authored by Sai Praveen Bangaru on 20 October 2022, 18:22:00 UTC
Modified the new type system to support generic differentiable types … (#2413)
Tip revision: 1093218
File Mode Size
.github
build
deps
docs
examples
external
extras
prelude
source
tests
tools
.editorconfig -rw-r--r-- 937 bytes
.gitattributes -rw-r--r-- 95 bytes
.gitignore -rw-r--r-- 1.4 KB
.gitmodules -rw-r--r-- 951 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 6.1 KB
github_build.sh -rw-r--r-- 1.1 KB
github_macos_build.sh -rw-r--r-- 1.2 KB
github_test.sh -rw-r--r-- 1.2 KB
make-slang-tag-version.bat -rw-r--r-- 210 bytes
premake.bat -rw-r--r-- 120 bytes
premake5.lua -rw-r--r-- 55.4 KB
slang-com-helper.h -rw-r--r-- 4.9 KB
slang-com-ptr.h -rw-r--r-- 5.0 KB
slang-gfx.h -rw-r--r-- 83.7 KB
slang-tag-version.h -rw-r--r-- 36 bytes
slang.h -rw-r--r-- 193.0 KB
slang.sln -rw-r--r-- 40.7 KB
test.bat -rw-r--r-- 1.4 KB

README.md

back to top