Beispiel #1
0
 def get_kernel_executor(self, knl, *args, **kwargs):
     from loopy.target.c.c_execution import CKernelExecutor
     return CKernelExecutor(knl, compiler=self.compiler)
Beispiel #2
0
 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)