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

Fix another block of the howto doctest

parent 4f4b2791
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment