diff options
| author | Yong He <yonghe@outlook.com> | 2023-01-10 12:42:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-10 12:42:55 -0800 |
| commit | 2f422087ed04940f6b6b351605e61d48ce1989ce (patch) | |
| tree | 522f8027173732d903a906081238b12863d73fb8 /source/slang/slang-emit.cpp | |
| parent | eb813fbd8750ed1ab66d73f5fa29ae8f2407e8af (diff) | |
Nested bwd-diff func call context save/restore. (#2584)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-emit.cpp')
| -rw-r--r-- | source/slang/slang-emit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp index 00db6bd96..d50cc45a3 100644 --- a/source/slang/slang-emit.cpp +++ b/source/slang/slang-emit.cpp @@ -387,6 +387,8 @@ Result linkAndOptimizeIR( finalizeAutoDiffPass(irModule); + finalizeSpecialization(irModule); + // If we have a target that is GPU like we use the string hashing mechanism // but for that to work we need to inline such that calls (or returns) of strings // boil down into getStringHash(stringLiteral) |
