summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-autodiff.cpp
diff options
context:
space:
mode:
authorSai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com>2023-02-09 17:40:20 -0500
committerGitHub <noreply@github.com>2023-02-09 17:40:20 -0500
commitdf02f3f50f977112ca1fbb148cd48ee41d560f41 (patch)
tree7732e8fec9f33aff9666b3710c7adb899788c4be /source/slang/slang-ir-autodiff.cpp
parentd911e1bed9572664b1d0554feb3c7d1a2a880518 (diff)
Reverse-mode Loop Support (#2635)
* Full loop support now working. MaxItersAttr in progress * Lookup table updates? * Fixed the max iters decoration * Minox fixes & remove superfluous code * fixup warnings * Revert "Lookup table updates?" This reverts commit 7d9b0793fb5239f31d1155776e846dcf1892d8d9. * Update 07-autodiff.md * Change maxiters to MaxIters * Added asserts * Update 07-autodiff.md
Diffstat (limited to 'source/slang/slang-ir-autodiff.cpp')
-rw-r--r--source/slang/slang-ir-autodiff.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ir-autodiff.cpp b/source/slang/slang-ir-autodiff.cpp
index f38bdfdbd..2ce5a48f7 100644
--- a/source/slang/slang-ir-autodiff.cpp
+++ b/source/slang/slang-ir-autodiff.cpp
@@ -460,6 +460,7 @@ void stripAutoDiffDecorationsFromChildren(IRInst* parent)
case kIROp_ForwardDerivativeDecoration:
case kIROp_DerivativeMemberDecoration:
case kIROp_DifferentiableTypeDictionaryDecoration:
+ case kIROp_PrimalInstDecoration:
case kIROp_DifferentialInstDecoration:
case kIROp_MixedDifferentialInstDecoration:
case kIROp_BackwardDerivativeDecoration: