From 97c9c6351fdf04d5366421372b752b81f39e370f Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 1 May 2013 00:27:30 -0400 Subject: [PATCH] Implement arg guessing. --- examples/hello-loopy.py | 7 +-- loopy/kernel/creation.py | 105 +++++++++++++++++++++++++++++++++++++-- test/test_loopy.py | 16 ++++++ 3 files changed, 119 insertions(+), 9 deletions(-) diff --git a/examples/hello-loopy.py b/examples/hello-loopy.py index a35d7272d..a88d81f88 100644 --- a/examples/hello-loopy.py +++ b/examples/hello-loopy.py @@ -18,12 +18,7 @@ a = cl.array.arange(queue, n, dtype=np.float32) knl = lp.make_kernel( ctx.devices[0], "{ [i]: 0<=i