From 97cb4851eed7a43f10196971b08d3d311386ce9f Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 23 Nov 2022 09:39:08 -0800 Subject: Autodiff through simple dynamic dispatch. (#2527) * Autodiff through simple dynamic dispatch. * Revert changes. * Fix. Co-authored-by: Yong He --- source/slang/slang-mangle.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/slang/slang-mangle.cpp') diff --git a/source/slang/slang-mangle.cpp b/source/slang/slang-mangle.cpp index bdb5465e9..6ea9ea01e 100644 --- a/source/slang/slang-mangle.cpp +++ b/source/slang/slang-mangle.cpp @@ -517,6 +517,10 @@ namespace Slang emitQualifiedName(context, innerDecl); return; } + else if (as(decl)) + emitRaw(context, "FwdReq_"); + else if (as(decl)) + emitRaw(context, "BwdReq_"); else { // TODO: handle other cases -- cgit v1.2.3