Debian Bug report logs - #745456
create_some_context() can fail if multiple ICDs installed

version graph

Package: src:pyopencl; Maintainer for src:pyopencl is Debian OpenCL Maintainers <[email protected]>;

Reported by: [email protected]

Date: Mon, 21 Apr 2014 22:03:02 UTC

Severity: normal

Tags: patch

Found in version pyopencl/2013.2-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Tomasz Rybak <[email protected]>:
Bug#745456; Package src:pyopencl. (Mon, 21 Apr 2014 22:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to "Rebecca N. Palmer" <[email protected]>:
New Bug report received and forwarded. Copy sent to Tomasz Rybak <[email protected]>. (Mon, 21 Apr 2014 22:03:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: "Rebecca N. Palmer" <[email protected]>
To: [email protected]
Subject: create_some_context() can fail if multiple ICDs installed
Date: Mon, 21 Apr 2014 22:57:57 +0100
[Message part 1 (text/plain, inline)]
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 makes it search through the platforms for a device,
preferring a GPU if available.  As discussed earlier, this will allow 
making OpenCL just work (at least for hardware that has a free ICD) by 
defaulting to installing all ICDs.

This requires the "Make get_devices() return an empty list instead of 
erroring out" fix you just sent upstream.
[find_GPU.patch (text/x-patch, attachment)]

Information forwarded to [email protected]:
Bug#745456; Package src:pyopencl. (Tue, 29 Apr 2014 19:36:04 GMT) (full text, mbox, link).


Acknowledgement sent to Tomasz Rybak <[email protected]>:
Extra info received and forwarded to list. (Tue, 29 Apr 2014 19:36:04 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Tomasz Rybak <[email protected]>
To: [email protected]
Subject: Re: Bug#745456: create_some_context() can fail if multiple ICDs installed
Date: Tue, 29 Apr 2014 21:32:24 +0200
[Message part 1 (text/plain, inline)]
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/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak

[signature.asc (application/pgp-signature, inline)]

Reply sent to Debian FTP Masters <[email protected]>:
You have taken responsibility. (Mon, 26 May 2014 11:54:38 GMT) (full text, mbox, link).


Notification sent to "Rebecca N. Palmer" <[email protected]>:
Bug acknowledged by developer. (Mon, 26 May 2014 11:54:38 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Debian FTP Masters <[email protected]>
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],
Cc: [email protected], [email protected]
Subject: Bug#748785: Removed package(s) from unstable
Date: Mon, 26 May 2014 11:53:00 +0000
Version: 2013.2-1+rm

Dear submitter,

as the package pyopencl has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/748785

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)



Bug reopened Request was from Simon McVittie <[email protected]> to [email protected]. (Mon, 26 May 2014 15:03:22 GMT) (full text, mbox, link).


No longer marked as fixed in versions 2013.2-1+rm. Request was from Simon McVittie <[email protected]> to [email protected]. (Mon, 26 May 2014 15:03:23 GMT) (full text, mbox, link).


Changed Bug submitter to '[email protected]' from '"Rebecca N. Palmer" <[email protected]>' Request was from "Rebecca N. Palmer" <[email protected]> to [email protected]. (Sat, 19 Jul 2014 09:39:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 05:20:56 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.