summaryrefslogtreecommitdiff
path: root/tests/autodiff/differential-method-synthesis.slang
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-10-27 12:19:30 -0700
committerGitHub <noreply@github.com>2022-10-27 12:19:30 -0700
commit0cbef6fd6d7924d37ef3ea5ec7c848c80947d13f (patch)
tree173fa18c39638e7d41ae092b9012554cb867a31b /tests/autodiff/differential-method-synthesis.slang
parent351e78f3abc54f114237d4af64f8199476ebf176 (diff)
Rename `__jvp`-->`__fwd_diff`. (#2471)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/autodiff/differential-method-synthesis.slang')
-rw-r--r--tests/autodiff/differential-method-synthesis.slang2
1 files changed, 1 insertions, 1 deletions
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
}