From 4a811149ea5a40c418904b8039b8f020ad39b320 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 18 Jan 2017 00:57:08 -0600 Subject: [PATCH] Fix another block of the howto doctest --- doc/howto.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/howto.rst b/doc/howto.rst index 0b6cb4c3..a22bfa5a 100644 --- a/doc/howto.rst +++ b/doc/howto.rst @@ -85,10 +85,10 @@ We can then operate on the array with our own kernels: >>> evt = prg.set_to_1(queue, ary.shape, None, ary.data) >>> print(ary) - [(1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) - (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) - (1, 1000.) (1, 12.) (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) - (1, 1000.) (1, 1000.)] + [(1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) + (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) + (1, 1000.) (1, 12.) (1, 1000.) (1, 1000.) (1, 1000.) (1, 1000.) + (1, 1000.) (1, 1000.)] as well as with PyOpenCL's built-in operations: -- GitLab