[python-dtcwt] 11/38: opencl: disable interactive opencl context prompt

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Mar 8 11:39:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository python-dtcwt.

commit 1bfa0a296c8632453f5915e92d71052149201571
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Tue Aug 4 14:27:36 2015 +0100

    opencl: disable interactive opencl context prompt
---
 dtcwt/opencl/lowlevel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dtcwt/opencl/lowlevel.py b/dtcwt/opencl/lowlevel.py
index d3308d2..bc60b82 100644
--- a/dtcwt/opencl/lowlevel.py
+++ b/dtcwt/opencl/lowlevel.py
@@ -158,7 +158,7 @@ def get_default_queue():
     This function is memoized and so only one queue is created after multiple invocations.
     """
     _check_cl()
-    ctx = cl.create_some_context()
+    ctx = cl.create_some_context(interactive=False)
     return cl.CommandQueue(ctx)
 
 def to_queue(queue):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list