From 0cbef6fd6d7924d37ef3ea5ec7c848c80947d13f Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 27 Oct 2022 12:19:30 -0700 Subject: Rename `__jvp`-->`__fwd_diff`. (#2471) Co-authored-by: Yong He --- source/slang/slang-ast-expr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/slang/slang-ast-expr.h') 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, ...)`. -- cgit v1.2.3