[Pkg-opencl-devel] Bug#768185: Bug#768185: Bug#768185: beignet kills calling application on program build errors, logging errors to console

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Fri Nov 7 17:50:31 UTC 2014


On Fri, Nov 7, 2014 at 2:37 PM, Rebecca N. Palmer
<rebecca_palmer at zoho.com> wrote:
>> It's a Dell XPS 15 from two months ago. [...]
>> 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen
>> Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
>> (prog-if 00 [VGA controller]) [...]
>> model name : Intel(R) Core(TM) i7-4712HQ CPU @ 2.30GHz
>
> That should work after upgrading linux if the Intel GPU is enabled (see
> http://nouveau.freedesktop.org/wiki/Optimus/ for how to check that), but
> shared local memory won't work.  (There is a fix for that, but for security
> reasons I can't recommend it:
> https://01.org/beignet/downloads/linux-kernel-patch-hsw-support?langredirect=1
> )

Thanks for the information. The IGP is enabled (it's what I use for my
primary display). I'm only toying around with it for compute though (I
use the discrete NVIDIA GPU for the serious stuff, due to the ratio in
power), but thanks for the hint.

>> library should _not_ call an exit() in case of error
>
> I agree: one of my goals is to have OpenCL just work (without the user
> needing to specifically set it up), which requires proper "hardware not
> supported" handling:
> http://lists.alioth.debian.org/pipermail/pkg-opencl-devel/Week-of-Mon-20140421/000122.html

Ah, that's tricky, at the packaging level. What I think is:

* all GPU-related ICDs should be installed, whenever the corresponding
video driver is;
* at least one CPU-capable ICD should also be installed;

tagging the ICDs appropriately might be the way to go about it.

>> The clinfo in Debian fails on my system due to the presence of 1.1
>> platforms and platforms without devices (mesa).
>
> That was supposed to be fixed (#721103), but #767985 suggests you're not the
> only one with that problem.

I think the 1.1 was fixed, but the "platform with no devices"
definitely wasn't. Possibly because I forgot to report it.

>> Giuseppe "Oblomov" Bilotta
>
> Oblomov as in the author of this clinfo?

Yes, I'm in fact the author of this clinfo.

> We're currently discussing whether
> to replace Debian's clinfo with it (though due to the release freeze, this
> can't happen immediately):
> http://lists.alioth.debian.org/pipermail/pkg-opencl-devel/Week-of-Mon-20141103/date.html

Well, I can obviously recommend mine 8-)

Should I subscribe to the pkg-opencl-devel ML?

-- 
Giuseppe "Oblomov" Bilotta



More information about the Pkg-opencl-devel mailing list