On 27/02/2014 20:26, Anti_Tenzor wrote:
> Hi, Vincent,
>
> I set OCL_ICD_DEBUG=15 and I hope following messages will bring some light to
> the situation:
>
> ocl-icd(ocl_icd_loader.c:469): __initClIcd: Only loading
> '/etc/OpenCL/vendors/pocl.icd' as an ICD
> ocl-icd(ocl_icd_loader.c:210): _open_driver: Considering file
> '/etc/OpenCL/vendors/pocl.icd'
> ocl-icd(ocl_icd_loader.c:184): _load_icd: Loading ICD
> '/usr/lib/libpocl.so.1.2.0'
> ocl-icd(ocl_icd_loader.c:191): _load_icd: error while dlopening the IDL:
> '/usr/lib/libpocl.so.1.2.0: undefined symbol: _ZN4llvm3sys13PathSeparatorE',
> => skipping ICD
The pocl shared lib is not linked correctly (or some dependencies
are not in the LIBRARY_PATH).
=> the ocl-icd installation is correct and working.
The fix must be in pocl.
What says "ldd /usr/lib/libpocl.so.1.2.0" ?
Is /usr/lib/libpocl.so.1.2.0 the last version you compile of pocl ?
(look at the date with "ls -l")
According to the c++filt tools, _ZN4llvm3sys13PathSeparatorE is
the llvm::sys::PathSeparator C++ symbol. So, I suspect that
pocl is not linked correctly to an lvm library.
Regards,
Vincent
> ocl-icd(ocl_icd_loader.c:242): _open_driver: return: 0/0x0
> ocl-icd(ocl_icd_loader.c:694): clGetPlatformIDs: Entering
> ocl-icd(ocl_icd_loader.c:703): clGetPlatformIDs: return:
> -1001/0xfffffffffffffc17
>
> error: CL_PLATFORM_NOT_FOUND_KHR; handlesLength: 0
>
>
> I have pocl-0.9 built from source tarball, modified ocl-icd you've sent me,
> llvm-3.3 and 3.4 built from source tarball. clang-3.3 is present.
> I observe these messages _after_ I recompiled pocl-0.9 with ocl-icd already
> present.
>
> Should I call some more diagnostic commands to narrow search field?
>
> Thank you in advance,
> Oleg.
>
>
>
> Четверг, 27 февраля 2014, 10:17 +01:00 от Vincent Danjean
> <[email protected]>:
>
>
> As Pekka said, I think that ocl-icd tries to load the pocl ICD but fails
> for
> any reason.
> Please, try this latter case with OCL_ICD_DEBUG set to 2 (or even 15)
> and, if messages are not clear, send the output to me.
>
> Regards,
> Vincent
>
> --
> Vincent Danjean Adresse: Laboratoire LIG - Bât. INRIA Rhône-Alpes
> Téléphone: +33 4 76 61 55 10 655 avenue de l'Europe
> Fax: +33 4 76 61 52 52 Montbonnot Saint Martin
> Email: [email protected] </[email protected]>
> 38334 Saint-Ismier cedex
>
>
--
Vincent Danjean Adresse: Laboratoire LIG - Bât. INRIA Rhône-Alpes
Téléphone: +33 4 76 61 55 10 655 avenue de l'Europe
Fax: +33 4 76 61 52 52 Montbonnot Saint Martin
Email: [email protected] 38334 Saint-Ismier cedex
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel