I've already managed it to have the OCL-ICD package as a port for FreeBSD and with an earlier source of pocl-0.8 I was able to run some of the tests within POCL.
Also, I managed to have the Khronos Group software with the POCL patches included as a port. That port compiles well and running a simple program retrieving platform/device informations works (I havn't tested real world OpenCL kernels, I will do so when the newest sources are compiling again). 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. My question in specific: does POCL incoporate portions of the Khronos-ICD sources or need portions of the sources to be compiled in? 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. I have no further capabilities of testing this issue. It seemed to me that POCL doesn't need the sources of the Khronos ICD explicitely except for the patching. Since I do the installation (including the POCL patches) externally as an other FreeBSD port (as it should be) and this works superficially, I think there is nothing more needed. If I'm wrong, please correct me. i also will have a look into the sources of the build environment of pocl again, but I thought asking might be faster. Regards, Oliver
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ 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
