Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwala committed Nov 14, 2018
1 parent f6c91cf commit 736f753
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyopencl/algorithm.py
Expand Up @@ -1042,8 +1042,11 @@ def get_write_kernel(self, index_dtype):
def __call__(self, queue, n_objects, *args, **kwargs):
"""
:arg args: arguments corresponding to arg_decls in the constructor.
Arguments must be either 1D :class:`pyopencl.array.Array` objects
or :class:`pyopencl.MemoryObject` objects.
Array-like arguments must be either
1D :class:`pyopencl.array.Array` objects or
:class:`pyopencl.MemoryObject` objects, the latter of which
can be obtained from a :class:`pyopencl.array.Array` using the
:attr:`pyopencl.array.Array.data` attribute.
:arg allocator: optionally, the allocator to use to allocate new
arrays.
:arg omit_lists: An iterable of list names that should *not* be built
Expand Down

0 comments on commit 736f753

Please sign in to comment.