[Pkg-opencl-devel] Bug#768185: beignet kills calling application on	program build errors, logging errors to console
    Giuseppe Bilotta 
    giuseppe.bilotta at gmail.com
       
    Fri Nov  7 10:46:03 UTC 2014
    
    
  
On Wed, Nov 5, 2014 at 8:38 PM, Andreas Beckmann <anbe at debian.org> wrote:
> On 2014-11-05 20:16, Giuseppe Bilotta wrote:
>> Running clinfo from http://github.com/Oblomov/clinfo with beignet installed
>
> Which other icds do you have installed?
>
> find /etc/OpenCL/vendors
I have a multitude of them:
mesa.icd (from Debian's unstable package repositories)
nvidia.icd (from Debian's unstable package repositories)
amdocl64.icd (from Debian's unstable package repositories)
intel64.icd (Intel's proprietary CPU OpenCL platform, downloaded from
their website)
intel-beignet.icd (from Debian's unstable package repositories)
pocl.icd (hand-compiled from pocl' master git branch)
> I've seen that as well, but it seems to be related to ordering of
> multiple icds that may not cooperate cleanly depending on the loading
> order ...
>
> have you tried
>
> OCL_ICD_VENDORS=intel-beignet.icd path/to/your/clinfo
I've filtered out all vendors and then started adding them back one by
one. The one that causes troubles seems to be the mesa ICD.
So there are actually THREE issues here:
1. kernel build errors should not go to stderr, but to the build log;
2. the library shoud not terminate the calling program in case of errors;
3. there's a conflict with the mesa ICD (maybe beignet and mesa are
compiled against different versions of libllvm?)
-- 
Giuseppe "Oblomov" Bilotta
    
    
More information about the Pkg-opencl-devel
mailing list