Bug#745456: create_some_context() can fail if multiple ICDs installed

2014-04-29 Thread Tomasz Rybak
Thanks for the patch. I'll first upload fixed PyOpenCL to main, and then work on it. Probably I'll first want to have some discussion on mailing list - as I do not use GPGPUs now, I'd like to have opinion of users of PyOpenCL before introducing such a change. Best regards. -- Tomasz Rybak GPG/P

Bug#745456: create_some_context() can fail if multiple ICDs installed

2014-04-21 Thread Rebecca N. Palmer
Source: pyopencl Version: 2013.2-1 Tags: patch In non-interactive mode, create_some_context currently always chooses the first device of the first platform. This fails if this has no devices (eg. it is the wrong one for the available hardware), and will be slow if if is the CPU. This patch make