On Wed, 25 Jan 2012 14:25:38 +0100, Tomasz Rybak <[email protected]> wrote: > Hello. > Debian has two sets of OpenCL headers: > 1.1 available in main branch > 1.2 available in "experimental" > Trying to build PyOpenCL with 1.2 headers and 11-12 AMD drivers > fails. PyOpenCL expects to have 1.2 functions in libOpenCL.so > (e.g. for splitting devices) and library does not provide > those functions. > > I have downloaded AMD drivers 851.6 (or 8-93-10 as they are called > on the web page > http://developer.amd.com/sdks/AMDAPPSDK/downloads/Pages/default.aspx > under the "OpenCLâ„¢ 1.2 and Static C++ kernel language preview" > and was able to install them on my 64-bit Debian. > clinfo (utility to list OpenCL devices) lists all my devices > (CPU and GPU) as 1.1, but I was able to build PyOpenCL with > 1.2 headers. I guess that this testing driver exports needed > functions, even though devices do not support them yet. > At the same time unit tests fail on this setup. > test_wrapper works OK. > test_array shows 5 failed tests > test_clmath shows 13 failed tests > (see attachments) > I will try to see into those problems; I am not > sure whether this is problem with PyOpenCL or my setup, > because at the same time I have changed my drivers > and built new PyOpenCL with complex SIMD and Fortran > support (previously I had PyOpenCL 402cc8340e934574de > from 2012-01-22).
One part is easy: Their 1.2 compiler doesn't allow #pragma OPENCL EXTENSION cl_khr_fp64: enable Smart move on their part. When you get the choice of breaking nearly every CL program under the sun or adding a simple backward compatibility no-op to your compiler: which do you choose? :) Andreas
pgpwrnDZwnGgK.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
