From f72daf85451b12a629583439ac47f76163cd19ac Mon Sep 17 00:00:00 2001 From: James Stevens Date: Sun, 2 Aug 2015 17:52:47 -0500 Subject: [PATCH] fixed typo, I think --- doc/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 51a854881..a4da1321e 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -199,7 +199,7 @@ For convenience, loopy kernels also directly accept :mod:`numpy` arrays: >>> evt, (out,) = knl(queue, a=x_vec_host) >>> assert (out == (2*x_vec_host)).all() -Notice how both *out* nor *a* are :mod:`numpy` arrays, but neither needed +Notice how both *out* and *a* are :mod:`numpy` arrays, but neither needed to be transferred to or from the device. Checking for numpy arrays and transferring them if needed comes at a potential performance cost. If you would like to make sure that you avoid this cost, pass -- GitLab