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 --- tests/autodiff/differential-method-synthesis.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/autodiff/differential-method-synthesis.slang') diff --git a/tests/autodiff/differential-method-synthesis.slang b/tests/autodiff/differential-method-synthesis.slang index 53957fd91..3ecd636e9 100644 --- a/tests/autodiff/differential-method-synthesis.slang +++ b/tests/autodiff/differential-method-synthesis.slang @@ -40,7 +40,7 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) A a = {1.0, 2.0}; A.Differential b = {0.2}; dpA dpa = dpA(a, b); - outputBuffer[0] = __jvp(f)(dpa).d().b.x; // Expect: 0 + outputBuffer[0] = __fwd_diff(f)(dpa).d().b.x; // Expect: 0 outputBuffer[1] = A.dadd(b, b).b.x; // Expect: 0.4 outputBuffer[2] = A.dmul(a, b).b.x; // Expect: 0.2 } -- cgit v1.2.3