From ef61238456a7c7de0466abf0fdc9f94dfbfe718d Mon Sep 17 00:00:00 2001 From: Kaushik Kulkarni Date: Wed, 21 Apr 2021 15:26:14 -0500 Subject: [PATCH] ref_program -> ref_translation_unit --- doc/index.rst | 2 +- doc/{ref_program.rst => ref_translation_unit.rst} | 2 +- loopy/program.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename doc/{ref_program.rst => ref_translation_unit.rst} (82%) diff --git a/doc/index.rst b/doc/index.rst index d3cb6f38c..3bc0361c5 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -42,7 +42,7 @@ Please check :ref:`installation` to get started. tutorial ref_creation ref_kernel - ref_program + ref_translation_unit ref_transform ref_call ref_other diff --git a/doc/ref_program.rst b/doc/ref_translation_unit.rst similarity index 82% rename from doc/ref_program.rst rename to doc/ref_translation_unit.rst index e83530b62..9d7c49158 100644 --- a/doc/ref_program.rst +++ b/doc/ref_translation_unit.rst @@ -1,6 +1,6 @@ .. currentmodule:: loopy TranslationUnit -======= +=============== .. autoclass:: TranslationUnit diff --git a/loopy/program.py b/loopy/program.py index 9143f3c88..14cae4819 100644 --- a/loopy/program.py +++ b/loopy/program.py @@ -287,7 +287,7 @@ class TranslationUnit(ImmutableRecord): subkernel and returns a copy of *self*. Else records a new callable kernel with *kernel* as its subkernel. - :arg kernel: An instance of :class:`loopy.kernel.LoopKernel`. + :arg kernel: An instance of :class:`loopy.LoopKernel`. :returns: Copy of *self* with updated callable kernels. """ if kernel.name in self.callables_table: -- GitLab