From 2f39f7022f478bb45a6f211f8550a4b275b909f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Wed, 20 Jan 2021 17:25:23 -0600 Subject: [PATCH] Elementwise capture_as implementation: don't return after capture_call --- pyopencl/elementwise.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyopencl/elementwise.py b/pyopencl/elementwise.py index fcb94ee9..dae42b7e 100644 --- a/pyopencl/elementwise.py +++ b/pyopencl/elementwise.py @@ -310,7 +310,7 @@ class ElementwiseKernel: if capture_as is not None: kernel.set_args(*invocation_args) - return kernel.capture_call( + kernel.capture_call( capture_as, queue, gs, ls, *invocation_args, wait_for=wait_for) -- GitLab