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

Andreas Beckmann anbe at debian.org
Wed Nov 5 19:38:08 UTC 2014


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

> results in two undesired behaviours when clinfo tries to compile some
> kernels:
> 
> 1. the following messages are logged to stderr
> 
> <premain>: CommandLine Error: Option 'error-reporting-is-cold' registered more than once!
...
> <premain>: CommandLine Error: Option 'pass-remarks' registered more than once!
> LLVM ERROR: inconsistency in registered CommandLine options

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


Andreas

Note to us maintainers: which additional information should be collected
from a bug-script to ease debugging such things?



More information about the Pkg-opencl-devel mailing list