From c6f3b58f352810d71442bb0c9db7243eb62bac20 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Fri, 29 Jul 2011 12:13:41 -0400
Subject: [PATCH] =?UTF-8?q?Expose=20missing=20Program.program=5Fbuild=5Fin?=
 =?UTF-8?q?fo()=20and=20.all=5Fkernels().=20(reported=20by=20Petter=20S?=
 =?UTF-8?q?=C3=A4terskog)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 pyopencl/__init__.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py
index a22c47d8..add4fbeb 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)
-- 
GitLab