diffstat for compyle-0.8.1 compyle-0.8.1

 changelog                                                           |    7 ++
 patches/0001-fix-backend-rework-passing-profile-arg-to-opencl.patch |   30 ++++++++++
 patches/series                                                      |    1 
 3 files changed, 38 insertions(+)

diff -Nru compyle-0.8.1/debian/changelog compyle-0.8.1/debian/changelog
--- compyle-0.8.1/debian/changelog	2025-01-05 13:43:27.000000000 +0200
+++ compyle-0.8.1/debian/changelog	2025-06-18 22:40:12.000000000 +0300
@@ -1,3 +1,10 @@
+compyle (0.8.1-10.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for recent pyopencl. (Closes: #1104368)
+
+ -- Adrian Bunk <bunk@debian.org>  Wed, 18 Jun 2025 22:40:12 +0300
+
 compyle (0.8.1-10) unstable; urgency=medium
 
   * debian/patches:
diff -Nru compyle-0.8.1/debian/patches/0001-fix-backend-rework-passing-profile-arg-to-opencl.patch compyle-0.8.1/debian/patches/0001-fix-backend-rework-passing-profile-arg-to-opencl.patch
--- compyle-0.8.1/debian/patches/0001-fix-backend-rework-passing-profile-arg-to-opencl.patch	1970-01-01 02:00:00.000000000 +0200
+++ compyle-0.8.1/debian/patches/0001-fix-backend-rework-passing-profile-arg-to-opencl.patch	2025-06-18 22:36:42.000000000 +0300
@@ -0,0 +1,30 @@
+From 9a13509a4ccd62750aa549d762d4c8237c9e755b Mon Sep 17 00:00:00 2001
+From: Navaneet Villodi <11260095+nauaneed@users.noreply.github.com>
+Date: Tue, 20 Aug 2024 22:59:52 +0530
+Subject: fix(backend): rework passing profile arg to opencl
+
+---
+ compyle/opencl.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/compyle/opencl.py b/compyle/opencl.py
+index daed09e..d034d8c 100644
+--- a/compyle/opencl.py
++++ b/compyle/opencl.py
+@@ -29,10 +29,10 @@ def set_context(ctx):
+ def get_queue():
+     global _queue
+     if _queue is None:
+-        properties = None
++        kwargs = dict()
+         if get_config().profile:
+-            properties = cl.command_queue_properties.PROFILING_ENABLE
+-        _queue = cl.CommandQueue(get_context(), properties=properties)
++            kwargs['properties'] = cl.command_queue_properties.PROFILING_ENABLE
++        _queue = cl.CommandQueue(get_context(), **kwargs)
+     return _queue
+ 
+ 
+-- 
+2.30.2
+
diff -Nru compyle-0.8.1/debian/patches/series compyle-0.8.1/debian/patches/series
--- compyle-0.8.1/debian/patches/series	2025-01-05 13:43:27.000000000 +0200
+++ compyle-0.8.1/debian/patches/series	2025-06-18 22:40:10.000000000 +0300
@@ -3,3 +3,4 @@
 0003-Compatibility-with-numpy-v1.24.patch
 0004-Do-not-use-distutils.patch
 0005-Fix-sorting.patch
+0001-fix-backend-rework-passing-profile-arg-to-opencl.patch
