summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-05-14 15:09:22 -0700
committerGitHub <noreply@github.com>2023-05-14 15:09:22 -0700
commit6ac0c6a688b33965ba83c18e68861f8f9c4f5250 (patch)
tree04a0ab71ffd2b932a4c4ee1d3b3127507211d443 /tests
parentcd6064201eb8443918054588002a442459113ed4 (diff)
Add [Differentiable(n)] syntax to specify max order. (#2883)
Diffstat (limited to 'tests')
-rw-r--r--tests/autodiff/reverse-loop.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/autodiff/reverse-loop.slang b/tests/autodiff/reverse-loop.slang
index 5598f6b71..a2c826be9 100644
--- a/tests/autodiff/reverse-loop.slang
+++ b/tests/autodiff/reverse-loop.slang
@@ -8,7 +8,7 @@ RWStructuredBuffer<float> outputBuffer;
typedef DifferentialPair<float> dpfloat;
typedef float.Differential dfloat;
-[BackwardDifferentiable]
+[Differentiable]
float test_simple_loop(float y)
{
float t = y;