From e39cc90f968a7e0eb056bb02fda87d5933fb97bb Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Sun, 14 Jul 2013 16:10:54 -0400 Subject: [PATCH] Document map_to_host --- doc/misc.rst | 4 ++++ pyopencl/array.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/doc/misc.rst b/doc/misc.rst index 2f8f2da1..9ac75437 100644 --- a/doc/misc.rst +++ b/doc/misc.rst @@ -79,6 +79,10 @@ Version 2013.2 This version is currently under development. You can get snapshots from PyOpenCL's `git repository <https://github.com/inducer/pyopencl>`_ +* Add :meth:`pyopencl.array.Array.map_to_host`. +* Support *strides* on :func:`pyopencl.enqueue_map_buffer` and + :func:`pyopencl.enqueue_map_image`. + Version 2013.1 -------------- diff --git a/pyopencl/array.py b/pyopencl/array.py index e1d7b40a..68f28e5d 100644 --- a/pyopencl/array.py +++ b/pyopencl/array.py @@ -351,6 +351,8 @@ class Array(object): .. automethod :: setitem + .. automethod :: map_to_host + .. rubric:: Comparisons, conditionals, any, all .. versionadded:: 2013.2 -- GitLab