From: Navaneet Villodi <11260095+nauaneed@users.noreply.github.com>
Subject: fix(backend): rework passing profile arg to opencl
Origin: https://github.com/nauaneed/compyle/commit/82a128c5dc4072dfb38ee59d4a2782e0e6c542d3
Bug-Debian: https://bugs.debian.org/1104368

---
 compyle/opencl.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/compyle/opencl.py
+++ b/compyle/opencl.py
@@ -29,10 +29,10 @@
 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
 
 
