diff options
| author | Yong He <yonghe@outlook.com> | 2022-11-01 08:46:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-01 08:46:57 -0700 |
| commit | cbc1eff56057f199183bb7c17d8a360326512367 (patch) | |
| tree | 487865e928cd2ceecbb509f0bfd06aa8d9584411 /tests/autodiff/nested-jvp.slang | |
| parent | b707a07b1de3535cb0a8ccb6fe2ed4afa4a016d1 (diff) | |
Make `DifferentialPair` able to nest. (#2477)
Diffstat (limited to 'tests/autodiff/nested-jvp.slang')
| -rw-r--r-- | tests/autodiff/nested-jvp.slang | 4 |
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) |
