def get_kernel_executor(self, knl, *args, **kwargs): from loopy.target.c.c_execution import CKernelExecutor return CKernelExecutor(knl, compiler=self.compiler)
def get_kernel_executor(self, t_unit, *args, **kwargs): from loopy.target.c.c_execution import CKernelExecutor return CKernelExecutor(t_unit, entrypoint=kwargs.pop("entrypoint"), compiler=self.compiler)