hi It turns out POCL doesn't implement clLinkProgram, and their code is way over my head (I've never written LLVM before), so I'm curious how essential clLinkProgram is to PyOpenCL? If they aren't implementing it but providing a usable CL lib, maybe a workaround can be done.
They also state that it's not compiling on Windows, but I can look into that. Marmaduke On Sat, May 28, 2016 at 8:05 AM, Andreas Kloeckner <li...@informa.tiker.net> wrote: > Marmaduke Woodman <mmwood...@gmail.com> writes: > > Thanks. On Deb 7, after GCC 493, LLVM 37, Clang 37, I managed to build > PoCL > > and PyOpenCL against it. However, when I import pyopencl in Python, I > hit a > > link error, undefined symbol clLinkProgram. > > > > I also noticed that the _cffi.so in pyopencl doesn't link PoCL > statically. > > Are these related? Any advice here on build flags in siteconf.py? > > It could be that pocl doesn't implement all of CL 1.2. > > CL_PRETEND_VERSION = "1.1" > > may help. > > Andreas >
_______________________________________________ PyOpenCL mailing list PyOpenCL@tiker.net https://lists.tiker.net/listinfo/pyopencl