summaryrefslogtreecommitdiff
path: root/tests/autodiff
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-11-18 12:37:27 -0800
committerGitHub <noreply@github.com>2022-11-18 12:37:27 -0800
commitd58e08f8237a1888ceaad53402d534679ea83b1a (patch)
treee66838e0dc31fc12ebd7c1acecbb5060e8808366 /tests/autodiff
parent0a050a439fa91b66f2020421d4fec3e60aed4112 (diff)
Data flow validation pass for diagnosing derivative loss. (#2523)
Diffstat (limited to 'tests/autodiff')
-rw-r--r--tests/autodiff/differential-method-synthesis.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/autodiff/differential-method-synthesis.slang b/tests/autodiff/differential-method-synthesis.slang
index 4c96779f9..3220976e7 100644
--- a/tests/autodiff/differential-method-synthesis.slang
+++ b/tests/autodiff/differential-method-synthesis.slang
@@ -31,7 +31,7 @@ A f(A a)
aout.y = 2 * a.b.x;
aout.b.x = 5 * a.b.x;
- return nonDiff(aout);
+ return no_diff(nonDiff(aout));
}
[numthreads(1, 1, 1)]