On 09/01/13 11:53, ext David Minor wrote:
> OK, I figured out how to disable ocl-icd and have better results. I'm
> enclosing the test suite log, not everything passes.

Thanks. I can only conclude from the log that pocl needs more verbose 
test cases :)

If you had issues with LLVM not passing its testsuite, that might be the 
explanation (OCL kernel miscompilations) for the failures without ICD.

When all checks fail with ICD enabled there is most likely some 
environment setup problem. If also your own OpenCL program fails to run, 
then check that:

- your LD_LIBRARY_PATH is set to include $llvm_install/lib
- pocl.icd is found in /etc/OpenCL/vendors
- your OpenCL end-program is actually selecting the pocl platform with 
clGetPlatformIDs()
- your PATH is set to include $pocl_install/bin

Also - there was a recent commit stripping out the full install path 
from pocl.icd. Either add that manually to the pocl.icd file, or add
$pocl_install/lib to your LD_LIBRARY_PATH


kalle

-- 
But beware the debugger. Dark side of the source it is.
If once you start down the dark path, forever will it dominate
your destiny. Consume you it will.

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to