From 6fae15cd1210d8b664243d640e70ca47dccf9752 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 19 Jan 2023 08:58:20 -0800 Subject: Add diagnostic for calling non-bwd-diff func from bwd-diff func. (#2602) --- tests/diagnostics/autodiff-data-flow.slang.expected | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/diagnostics/autodiff-data-flow.slang.expected') diff --git a/tests/diagnostics/autodiff-data-flow.slang.expected b/tests/diagnostics/autodiff-data-flow.slang.expected index 869ce42b3..290ef974b 100644 --- a/tests/diagnostics/autodiff-data-flow.slang.expected +++ b/tests/diagnostics/autodiff-data-flow.slang.expected @@ -1,6 +1,6 @@ result code = -1 standard error = { -tests/diagnostics/autodiff-data-flow.slang(15): error 41020: derivative cannot be propagated through call to non-differentiable function `nonDiff`, use 'no_diff' to clarify intention. +tests/diagnostics/autodiff-data-flow.slang(15): error 41020: derivative cannot be propagated through call to non-forward-differentiable function `nonDiff`, use 'no_diff' to clarify intention. val = nonDiff(x * 2.0f); ^ tests/diagnostics/autodiff-data-flow.slang(22): error 41021: a differentiable function must have at least one differentiable output. -- cgit v1.2.3