From 3a432783c282eb3e024341bec9267d050e9f3876 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 17 Dec 2012 23:41:07 -0500 Subject: [PATCH] Minor simplification to array.splay. --- pyopencl/array.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyopencl/array.py b/pyopencl/array.py index 7304081d..cc4deab1 100644 --- a/pyopencl/array.py +++ b/pyopencl/array.py @@ -141,8 +141,7 @@ def splay(queue, n, kernel_specific_max_wg_size=None): work_items_per_group = max_work_items #print "n:%d gc:%d wipg:%d" % (n, group_count, work_items_per_group) - return (group_count*work_items_per_group, 1, 1), \ - (work_items_per_group, 1, 1) + return (group_count*work_items_per_group,), (work_items_per_group,) -- GitLab