From 9d048351d283f8df2a68aca52b3573dcbb8cdb9b Mon Sep 17 00:00:00 2001 From: Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> Date: Mon, 12 Dec 2022 17:33:44 -0500 Subject: Added support for nested calls (#2562) * Added initial support for nested calls * removed comments Co-authored-by: Yong He --- source/slang/slang-ir-autodiff-rev.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-ir-autodiff-rev.cpp') diff --git a/source/slang/slang-ir-autodiff-rev.cpp b/source/slang/slang-ir-autodiff-rev.cpp index 34a08ee93..c7fbc415a 100644 --- a/source/slang/slang-ir-autodiff-rev.cpp +++ b/source/slang/slang-ir-autodiff-rev.cpp @@ -589,7 +589,7 @@ struct BackwardDiffTranscriber { // Create inout version. auto inoutDiffPairType = builder->getInOutType(diffPairType); - auto newParam = builder->emitParam(inoutDiffPairType); + auto newParam = builder->emitParam(inoutDiffPairType); // Map the _load_ of the new parameter as the clone of the old one. auto newParamLoad = builder->emitLoad(newParam); -- cgit v1.2.3