From 9cfdd91bdf1b613dc72e96ed4bc70d3b67223163 Mon Sep 17 00:00:00 2001 From: Matt Wala <wala1@illinois.edu> Date: Wed, 21 Nov 2018 00:03:54 -0600 Subject: [PATCH] Change GlobalArg to ArrayArg --- doc/ref_kernel.rst | 6 ++++-- loopy/kernel/data.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/ref_kernel.rst b/doc/ref_kernel.rst index 11ec7f030..896388d29 100644 --- a/doc/ref_kernel.rst +++ b/doc/ref_kernel.rst @@ -406,7 +406,9 @@ Arguments :members: :undoc-members: -.. autofunction:: GlobalArg +.. autoclass:: ArrayArg + :members: + :undoc-members: .. autoclass:: ConstantArg :members: @@ -591,7 +593,7 @@ Do not create :class:`LoopKernel` objects directly. Instead, refer to Implementation Detail: The Base Array ------------------------------------- -All array-like data in :mod:`loopy` (such as :class:`GlobalArg` and +All array-like data in :mod:`loopy` (such as :class:`ArrayArg` and :class:`TemporaryVariable`) derive from single, shared base array type, described next. diff --git a/loopy/kernel/data.py b/loopy/kernel/data.py index d6490aa88..7877f8b93 100644 --- a/loopy/kernel/data.py +++ b/loopy/kernel/data.py @@ -49,7 +49,7 @@ from warnings import warn class auto(object): # noqa """A generic placeholder object for something that should be automatically determined. See, for example, the *shape* or *strides* argument of - :func:`GlobalArg`. + :class:`ArrayArg`. """ -- GitLab