summaryrefslogtreecommitdiff
path: root/tests/diagnostics/autodiff-data-flow.slang.expected
blob: 290ef974ba921179b2c02925782ca236cb0b28e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
result code = -1
standard error = {
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.
void g(float x)
     ^
}
standard output = {
}