diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py index a22c47d82a1c2a907a5129f0a5963e8a0b6420f3..add4fbeb0fb3666c7e7462eb2379db403de336fa 100644 --- a/pyopencl/__init__.py +++ b/pyopencl/__init__.py @@ -407,6 +407,12 @@ class Program(object): def get_info(self, arg): return self._get_prg().get_info(arg) + def get_build_info(self, *args, **kwargs): + return self._get_prg().get_build_info(*args, **kwargs) + + def all_kernels(self): + return self._get_prg().all_kernels() + def __getattr__(self, attr): try: knl = Kernel(self._get_prg(), attr)