diff --git a/examples/hello-loopy.py b/examples/hello-loopy.py index a88d81f88e3e85179088564c9f4370adcbfdaf34..a835005ab53fe9c15323eff5b4624d3b5b023125 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]")