Freddie Witherden <[email protected]> writes: > Hi Andreas, > > On 19/11/15 17:56, Andreas Kloeckner wrote: >> Thanks for the report. Should be fixed in 00f8fdae8. Let me know whether >> that works for you, and if so, I'll push out a new version. > > Sorry in the delay in getting back to you. My main system is still > based around the NVIDIA ICD + Loader which only supports OpenCL 1.1. > > However, the more recent versions of PyOpenCL appear to be somewhat > hostile to this. I've had no luck compiling the more recent versions of > PyOpenCL against 1.1 headers and, even when swapping them out for newer > 1.2 headers and running > > ./configure.py --cl-pretend-version=1.1 > > I get errors upon import with: > >>>> import pyopencl as cl > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "[snip]/pyopencl-2015.2.1-py3.4-linux-x86_64.egg/pyopencl/__init__.py", > line 35, in <module> > import pyopencl.cffi_cl as _cl > File > "[snip]/pyopencl-2015.2.1-py3.4-linux-x86_64.egg/pyopencl/cffi_cl.py", > line 36, in <module> > from pyopencl._cffi import ffi as _ffi > ImportError: > [snip]/pyopencl-2015.2.1-py3.4-linux-x86_64.egg/pyopencl/_cffi.cpython-34.so: > undefined symbol: create_image_from_desc
I believe I've just fixed building against CL 1.1 in git master. It'd be great if you could try and let me know how it goes. Andreas _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
