summaryrefslogtreecommitdiffstats
path: root/tests/autodiff/nested-jvp.slang
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-11-01 08:46:57 -0700
committerGitHub <noreply@github.com>2022-11-01 08:46:57 -0700
commitcbc1eff56057f199183bb7c17d8a360326512367 (patch)
tree487865e928cd2ceecbb509f0bfd06aa8d9584411 /tests/autodiff/nested-jvp.slang
parentb707a07b1de3535cb0a8ccb6fe2ed4afa4a016d1 (diff)
Make `DifferentialPair` able to nest. (#2477)
Diffstat (limited to 'tests/autodiff/nested-jvp.slang')
-rw-r--r--tests/autodiff/nested-jvp.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/autodiff/nested-jvp.slang b/tests/autodiff/nested-jvp.slang
index 0e7d19078..a66adaf8e 100644
--- a/tests/autodiff/nested-jvp.slang
+++ b/tests/autodiff/nested-jvp.slang
@@ -4,8 +4,8 @@
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
RWStructuredBuffer<float> outputBuffer;
-typedef __DifferentialPair<float> dpfloat;
-typedef __DifferentialPair<float3> dpfloat3;
+typedef DifferentialPair<float> dpfloat;
+typedef DifferentialPair<float3> dpfloat3;
[ForwardDerivative(pow_jvp)]
float pow_(float x, float n)