diff options
| author | Yong He <yonghe@outlook.com> | 2022-10-27 12:19:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-27 12:19:30 -0700 |
| commit | 0cbef6fd6d7924d37ef3ea5ec7c848c80947d13f (patch) | |
| tree | 173fa18c39638e7d41ae092b9012554cb867a31b /source/slang/slang-ast-expr.h | |
| parent | 351e78f3abc54f114237d4af64f8199476ebf176 (diff) | |
Rename `__jvp`-->`__fwd_diff`. (#2471)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-ast-expr.h')
| -rw-r--r-- | source/slang/slang-ast-expr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/slang-ast-expr.h b/source/slang/slang-ast-expr.h index fca628a49..f2a72703e 100644 --- a/source/slang/slang-ast-expr.h +++ b/source/slang/slang-ast-expr.h @@ -437,12 +437,12 @@ class HigherOrderInvokeExpr : public Expr Expr* baseFunction; }; - /// An expression of the form `__jvp(fn)` to access the + /// An expression of the form `__fwd_diff(fn)` to access the /// forward-mode derivative version of the function `fn` /// -class JVPDifferentiateExpr: public HigherOrderInvokeExpr +class ForwardDifferentiateExpr: public HigherOrderInvokeExpr { - SLANG_AST_CLASS(JVPDifferentiateExpr) + SLANG_AST_CLASS(ForwardDifferentiateExpr) }; /// A type expression of the form `__TaggedUnion(A, ...)`. |
