summaryrefslogtreecommitdiff
path: root/tests/autodiff/vector-arithmetic-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/vector-arithmetic-jvp.slang
parentb707a07b1de3535cb0a8ccb6fe2ed4afa4a016d1 (diff)
Make `DifferentialPair` able to nest. (#2477)
Diffstat (limited to 'tests/autodiff/vector-arithmetic-jvp.slang')
-rw-r--r--tests/autodiff/vector-arithmetic-jvp.slang6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/autodiff/vector-arithmetic-jvp.slang b/tests/autodiff/vector-arithmetic-jvp.slang
index cf0eb6170..62f6e2d50 100644
--- a/tests/autodiff/vector-arithmetic-jvp.slang
+++ b/tests/autodiff/vector-arithmetic-jvp.slang
@@ -4,9 +4,9 @@
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
RWStructuredBuffer<float> outputBuffer;
-typedef __DifferentialPair<float2> dpfloat2;
-typedef __DifferentialPair<float3> dpfloat3;
-typedef __DifferentialPair<float4> dpfloat4;
+typedef DifferentialPair<float2> dpfloat2;
+typedef DifferentialPair<float3> dpfloat3;
+typedef DifferentialPair<float4> dpfloat4;
[ForwardDifferentiable]
float3 f(float3 x)