From c0c5c0feebfa5aa14a595653fbc9a686a61f4871 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 1 May 2013 00:29:15 -0400 Subject: [PATCH] Example beautification. :) --- examples/hello-loopy.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/hello-loopy.py b/examples/hello-loopy.py index a88d81f88..a835005ab 100644 --- a/examples/hello-loopy.py +++ b/examples/hello-loopy.py @@ -15,8 +15,7 @@ a = cl.array.arange(queue, n, dtype=np.float32) # ----------------------------------------------------------------------------- # generation (loopy bits start here) # ----------------------------------------------------------------------------- -knl = lp.make_kernel( - ctx.devices[0], +knl = lp.make_kernel(ctx.devices[0], "{ [i]: 0<=i<n }", "out[i] = 2*a[i]") -- GitLab