diff options
| author | Yong He <yonghe@outlook.com> | 2023-01-19 08:58:20 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-19 08:58:20 -0800 |
| commit | 6fae15cd1210d8b664243d640e70ca47dccf9752 (patch) | |
| tree | d3235149f587ed18147f7a0d916932e199dce888 /tests/diagnostics/autodiff-data-flow.slang.expected | |
| parent | 0586f3298fa7d554fa2682103eefba88740d6758 (diff) | |
Add diagnostic for calling non-bwd-diff func from bwd-diff func. (#2602)
Diffstat (limited to 'tests/diagnostics/autodiff-data-flow.slang.expected')
| -rw-r--r-- | tests/diagnostics/autodiff-data-flow.slang.expected | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
