diff --git a/pyopencl/algorithm.py b/pyopencl/algorithm.py index 737666f4a2ea43b273d8950b0e919c319c4f5fda..f2eb9a1d458aee5645a854b2b1085a8966dcda8f 100644 --- a/pyopencl/algorithm.py +++ b/pyopencl/algorithm.py @@ -983,7 +983,7 @@ class ListOfListsBuilder: count_event = count_kernel(queue, gsize, lsize, *(tuple(count_list_args) + args + (n_objects,)), - wait_for=wait_for) + **dict(wait_for=wait_for)) # {{{ run scans