aboutsummaryrefslogtreecommitdiff
path: root/clang/docs/conf.py
diff options
context:
space:
mode:
authorSameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com>2025-04-18 12:21:36 +0530
committerSameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com>2025-04-18 12:21:36 +0530
commit4ddf344b77cc01282571c643d621af34e6a7d8ad (patch)
tree677c5578536b2bde3b8024048d97228c65be5eda /clang/docs/conf.py
parentd27175d26e20ebc112b003c877692c06046d195b (diff)
downloadllvm-users/ssahasra/clang-convergence-spec.zip
llvm-users/ssahasra/clang-convergence-spec.tar.gz
llvm-users/ssahasra/clang-convergence-spec.tar.bz2
[clang] Define convergence in C++ languages such as HIP, CUDA, OpenCLusers/ssahasra/clang-convergence-spec
The proposed definition closely follows the existing definition of convergence in LLVM IR, but using C++ terms to describe language constructs. There is no undefined behaviour. For each situation, convergence is either fully specified or implementation-defined. Two important limitations where LLVM IR requires convergence control tokens to correctly express the convergence specified here: 1. Some combinations of loops, continue and break statements have different convergence specified for the statements inside that region of code, but result in the same loops in LLVM IR, thus producing ambiguous convergence in LLVM IR. 2. When a divergent condition inside a loop contains a convergent call followed by a break statement, these statements are lexically inside the loop, but in LLVM IR, they are outside the corresponding CFG loop.
Diffstat (limited to 'clang/docs/conf.py')
-rw-r--r--clang/docs/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/docs/conf.py b/clang/docs/conf.py
index 4cee382..8cbf7e0 100644
--- a/clang/docs/conf.py
+++ b/clang/docs/conf.py
@@ -94,6 +94,10 @@ rst_epilog = f"""
.. |ReleaseNotesTitle| replace:: {in_progress_title} Release Notes
"""
+# -- General options for output ------------------------------------------------
+
+numfig = True
+
# -- Options for HTML output ---------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for