summaryrefslogtreecommitdiffstats
path: root/docs/user-guide
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-02-06 16:11:49 -0800
committerGitHub <noreply@github.com>2023-02-06 16:11:49 -0800
commit101f164b036d0c1c012243df69179559b6f40fb8 (patch)
treec23d896bc0ee63f2164358645f6f4a3a20593810 /docs/user-guide
parentf12d422dd035aaf51fa3d8f6e31302c037aa180f (diff)
Update documentation (#2631)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'docs/user-guide')
-rw-r--r--docs/user-guide/07-autodiff.md2
-rw-r--r--docs/user-guide/toc.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/user-guide/07-autodiff.md b/docs/user-guide/07-autodiff.md
index 48eb84cdf..53fe61bbd 100644
--- a/docs/user-guide/07-autodiff.md
+++ b/docs/user-guide/07-autodiff.md
@@ -521,7 +521,7 @@ The compiler can generate forward derivative and backward propagation implementa
- No access to global variables or shader parameters within a differentiable function.
- All operations to global resources, including texture reads or atomic writes, are treating as a non-differentiable operation.
-- If a differentiable function contains calls that causes side-effects such as writes to global memory, there will not be a guarantee on how many times the side-effect will occur during the resulting derivative function or back-propagation function.
+- If a differentiable function contains calls that cause side-effects such as updates to global memory, there will not be a guarantee on how many times the side-effect will occur during the resulting derivative function or back-propagation function.
- All loops in a backward differentiable function must end within a statically known number of iterations. If the maximum number of iterations is not trivially deductible by the type system as a compile-time constant, a manually attribute is needed at the loop to provide the number. If the number of actually executed iterations exceeds what is being specified, the resulting runtime behavior is undefined.
The above restrictions do no apply if a user-defined derivative or backward propagation function is provided.
diff --git a/docs/user-guide/toc.html b/docs/user-guide/toc.html
index 12519b384..b65d7f831 100644
--- a/docs/user-guide/toc.html
+++ b/docs/user-guide/toc.html
@@ -85,7 +85,7 @@
<li data-link="07-autodiff#backward-propagation-function"><span>Backward Propagation Function</span></li>
<li data-link="07-autodiff#builtin-differentiable-functions"><span>Builtin Differentiable Functions</span></li>
<li data-link="07-autodiff#excluding-parameters-from-differentiation"><span>Excluding Parameters From Differentiation</span></li>
-<li data-link="07-autodiff#calling-non-differentiable-function-from-a-differentiable-function"><span>Calling Non-Differentiable Function from a Differentiable Function</span></li>
+<li data-link="07-autodiff#calling-non-differentiable-functions-from-a-differentiable-function"><span>Calling Non-Differentiable Functions from a Differentiable Function</span></li>
<li data-link="07-autodiff#higher-order-differentiation"><span>Higher Order Differentiation</span></li>
<li data-link="07-autodiff#interactions-with-generics-and-interfaces"><span>Interactions with Generics and Interfaces</span></li>
<li data-link="07-autodiff#restrictions-of-automatic-differentiation"><span>Restrictions of Automatic Differentiation</span></li>