diff --git a/loopy/target/pyopencl_execution.py b/loopy/target/pyopencl_execution.py index 2da25ba39ceef38a4af105913973226bd3773729..d059add0935ffe3020eda6d68014289c7a96313b 100644 --- a/loopy/target/pyopencl_execution.py +++ b/loopy/target/pyopencl_execution.py @@ -642,7 +642,9 @@ class PyOpenCLKernelExecutor(KernelExecutorBase): from loopy.target.pyopencl import PyOpenCLTarget if isinstance(kernel.target, PyOpenCLTarget): - self.kernel = kernel.copy(target=PyOpenCLTarget(context.devices[0])) + self.kernel = kernel.copy( + target=PyOpenCLTarget(context.devices[0]), + uniquify_instruction_ids=False) @memoize_method def cl_kernel_info(self, arg_to_dtype_set=frozenset(), all_kwargs=None):