Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #53 from Manticore/patch-1
Remove `block` argument from the docs to `Function.prepare()`
  • Loading branch information
inducer committed Sep 4, 2014
2 parents 6a8bcdd + 796078c commit 854ba9c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions doc/source/driver.rst
Expand Up @@ -1739,7 +1739,7 @@ Code on the Device: Modules and Functions

Make the :class:`TextureReference` texref available to the function.

.. method:: prepare(arg_types, block=None, shared=None, texrefs=[])
.. method:: prepare(arg_types, shared=None, texrefs=[])

Prepare the invocation of this function by

Expand All @@ -1750,8 +1750,6 @@ Code on the Device: Modules and Functions
(In addition, PyCUDA understands *'F'* and *'D'* for single- and
double precision floating point numbers.)

* setting the thread block shape for this function to `block`.

* Registering the texture references `texrefs` for use with this functions.
The :class:`TextureReference` objects in `texrefs` will be retained,
and whatever these references are bound to at invocation time will
Expand All @@ -1760,9 +1758,6 @@ Code on the Device: Modules and Functions

Return `self`.

.. warning:: Passing *block* or *shared* not equal to *None* is
djprecated as of version 2011.1.

.. method:: prepared_call(grid, block, *args, shared_size=0)

Invoke `self` using :meth:`launch_grid`, with `args` a grid size of `grid`,
Expand Down

0 comments on commit 854ba9c

Please sign in to comment.