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/dstdlib.slang | |
| parent | b707a07b1de3535cb0a8ccb6fe2ed4afa4a016d1 (diff) | |
Make `DifferentialPair` able to nest. (#2477)
Diffstat (limited to 'tests/autodiff/dstdlib.slang')
| -rw-r--r-- | tests/autodiff/dstdlib.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/autodiff/dstdlib.slang b/tests/autodiff/dstdlib.slang index 05d915c29..aef59d445 100644 --- a/tests/autodiff/dstdlib.slang +++ b/tests/autodiff/dstdlib.slang @@ -4,7 +4,7 @@ //TEST_INPUT:ubuffer(data=[0 0 0 0 0 0], stride=4):out,name=outputBuffer RWStructuredBuffer<float> outputBuffer; -typedef __DifferentialPair<float> dpfloat; +typedef DifferentialPair<float> dpfloat; [ForwardDifferentiable] float f(float x) |
