Skip to content
Snippets Groups Projects
Commit 19f6e5b7 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Document rectangular buffer <-> buffer transfers (Fix #104)

parent 70fbdead
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -1445,6 +1445,22 @@ def enqueue_copy(queue, dest, src, **kwargs):
:arg host_pitches: :class:`tuple` of :class:`int` of length
two or shorter. (optional, "tightly-packed" if unspecified)
.. ------------------------------------------------------------------------
.. rubric :: Rectangular :class:`Buffer` ↔ :class:`Buffer`
transfers (CL 1.1 and newer)
.. ------------------------------------------------------------------------
:arg src_origin: :class:`tuple` of :class:`int` of length
three or shorter. (mandatory)
:arg dst_origin: :class:`tuple` of :class:`int` of length
three or shorter. (mandatory)
:arg region: :class:`tuple` of :class:`int` of length
three or shorter. (mandatory)
:arg src_pitches: :class:`tuple` of :class:`int` of length
two or shorter. (optional, "tightly-packed" if unspecified)
:arg dst_pitches: :class:`tuple` of :class:`int` of length
two or shorter. (optional, "tightly-packed" if unspecified)
.. ------------------------------------------------------------------------
.. rubric :: Transfer :class:`Image` ↔ host
.. ------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment