Hi,

> Trying to prepare an adaption of POCL 1.1 to FreeBSD (CURRENT at the
> moment), using LLVM/CLANG 5, compilation runs well, but the final
> tests fail due to the initial error in pocl_version_check, like
> 
> pocl_version_check 
> ..................................................................***Failed

> Does anybody else face this error?
> 

That test does one thing: it loads OpenCL and checks that the platform
version matches "OpenCL 1.2 pocl X.Y". Two common ways this could fail
are 1) you have another OpenCL platform installed, or 2) loading
libpocl.so fails (usually due to linking problems).

If you have ocl-icd installed as ICD loader, then an easy check is:

source <path-to-pocl-source-dir>/tools/scripts/devel-envs.sh
clinfo

from pocl's BUILD directory. If it prints 0 platforms then likely you
have linking issues. Or you could build pocl with -DENABLE_ICD=0 and
it'll fail linking the tests, if there are any problems.

Cheers,
-- mb

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to