From a30d6cac501bf12768785d5bb44438a72af13406 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sun, 21 Jun 2015 01:24:44 -0500
Subject: [PATCH] Request CL output to fix doctest

---
 doc/tutorial.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/tutorial.rst b/doc/tutorial.rst
index 2b16fb57b..5ed456705 100644
--- a/doc/tutorial.rst
+++ b/doc/tutorial.rst
@@ -474,6 +474,7 @@ ambiguous.
 
 .. doctest::
 
+    >>> knl = lp.set_options(knl, "write_cl")
     >>> evt, (out,) = knl(queue, a=a_mat_dev)
     #define lid(N) ((int) get_local_id(N))
     ...
-- 
GitLab