blob: 9026c07487887f1a49428ee81d1e3b41464a22d5 (
plain)
1
2
3
4
5
6
7
8
|
result code = -1
standard error = {
tests/diagnostics/autodiff-data-flow-2.slang(18): error 41020: derivative cannot be propagated through call to non-backward-differentiable function `f`, use 'no_diff' to clarify intention.
float val = f(x + 1); // Error: f must also be backward-differentiable
^
}
standard output = {
}
|