diff --git a/doc/ref_kernel.rst b/doc/ref_kernel.rst index 2d878dc6baae36d3ae146337580c711c41c09212..253ccef3cc91b255f8c14b821257a8a80936daf6 100644 --- a/doc/ref_kernel.rst +++ b/doc/ref_kernel.rst @@ -26,7 +26,7 @@ in strides) are also allowed. In the absence of divisibility constraints, the loop domain is convex. Note that *n* in the example is not an iname. It is a -:ref:`domain-parameter` that is passed to the kernel by the user. +:ref:`domain-parameters` that is passed to the kernel by the user. To accommodate some data-dependent control flow, there is not actually a single loop domain, but rather a *tree of loop domains*, diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 1bf9e39a7299bab17e09d7815730b094fc13c9d0..bc8912527dcefa2ddf43d5adb6a83173900d69d4 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -604,7 +604,7 @@ Implementing Loop Axes ("Inames") .. {{{ So far, all the loops we have seen loopy implement were ``for`` loops. Each -iname in loopy carries a so-called 'implementation tag'. :ref:`tags` shows +iname in loopy carries a so-called 'implementation tag'. :ref:`iname-tags` shows all possible choices for iname implementation tags. The important ones are explained below. diff --git a/loopy/transform/iname.py b/loopy/transform/iname.py index c317f2a4fbd186ccf069da74118504249956b4bc..4b575d2e3970c4f1ffcd66ce6021ba9940789fe5 100644 --- a/loopy/transform/iname.py +++ b/loopy/transform/iname.py @@ -296,9 +296,9 @@ def split_iname(kernel, split_iname, inner_length, A tuple ``(head_it_count, tail_it_count)`` indicating the number of leading/trailing iterations of *outer_iname* for which separate code should be generated. - :arg outer_tag: The iname tag (see :ref:`iname-tag`) to apply to + :arg outer_tag: The iname tag (see :ref:`iname-tags`) to apply to *outer_iname*. - :arg inner_tag: The iname tag (see :ref:`iname-tag`) to apply to + :arg inner_tag: The iname tag (see :ref:`iname-tags`) to apply to *inner_iname*. :arg within: a stack match as understood by :func:`loopy.context_matching.parse_stack_match`.