On 06/01/2013 09:24 AM, O. Hartmann wrote: > Since I'm a kind of newbie to OpenCL/POCL, I'd like to ask for some > advice. I saw that when the tests in POCL has to be compiled with ICD > support, configure requires a switch " --enable-tests-with-icd". > Without, the package complains about missing OCL-ICD (which should be > OPENCL-ICD or KHRONOS-ICD then). As I took from the READMEs, I'm > required to copy the sources of POCL into(!) the source tree of POCL > and THEN compile it.
I do not know what you mean by this. --enable-tests-with-icd is not required by default as it should use icd by default for tests if you have icd support in pocl enabled (which is also the default). I'll update the configure.ac to mention Khronos ICD as an option for executing the pocl test suite in the ICD mode. > My question in specific: does POCL incoporate portions of the > Khronos-ICD sources or need portions of the sources to be compiled in? No. > As far as I understand, except the patches there is nothing needed and > POCL at the end, is then only the libpocl.so which a caller is > delegated to via the libOpenCL.so.1 proxy lib installed by Khronos-ICD > ICD. Yes. Or any other ICD loader. The patches for Khronos ICD loader are needed only if you plan to run the pocl test suite in the ICD mode (make check), because the pocl test suite needs the ability to override the search path for ICD files. It points the search path to the pocl build tree so the libpocl.so from the build tree is tested instead of whatever OpenCL implementations you have installed in your system. http://pocl.sourceforge.net/docs/html/development.html#ocl-icd -- --Pekka ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ pocl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
