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
On Sat, May 28, 2016 at 8:05 AM, Andreas Kloeckner <lists(a)informa.tiker.net>
Marmaduke Woodman <mmwoodman(a)gmail.com> writes:
> Thanks. On Deb 7, after GCC 493, LLVM 37, Clang 37, I managed to build
> and PyOpenCL against it. However, when I import pyopencl in Python, I
> link error, undefined symbol clLinkProgram.
> I also noticed that the _cffi.so in pyopencl doesn't link PoCL
> 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"