From 99b4600f207f3851e5bd7ab03163bc8d20da8613 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Tue, 14 May 2019 13:20:51 -0500 Subject: [PATCH] Improve docs of tag_array_axes --- loopy/transform/data.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/loopy/transform/data.py b/loopy/transform/data.py index 5b1ee6cca..7fbc595f2 100644 --- a/loopy/transform/data.py +++ b/loopy/transform/data.py @@ -387,6 +387,15 @@ def change_arg_to_image(knl, name): def tag_array_axes(knl, ary_names, dim_tags): """ + :arg dim_tags: a tuple of + :class:`loopy.kernel.array.ArrayDimImplementationTag` or a string that + parses to one. See :func:`loopy.kernel.array.parse_dim_tags` for a + description of the allowed string format. + + For example, *dim_tags* could be ``"N2,N0,N1"`` to determine + that the second axis is the fastest-varying, the last is + the next-fastest, and the first is the slowest. + .. versionchanged:: 2016.2 This function was called :func:`tag_data_axes` before version 2016.2. -- GitLab