Hi Andreas,
Thanks for the answer! Sounds very logical. I've added your explanation
and suggestions to the github issue page.
Best,
Sven
Op 4-8-2017 om 18:13 schreef Andreas Kloeckner:
Hi Sven,
Sven Warris <[email protected]> writes:
A user of my application has difficulty running the software:
https://github.com/swarris/Pacasus/issues/3
It seems to be related to the installation of (py)opencl and the AMD
SDK. Google was not very helpful in this. And I don't have access to a
machine with AMD CPUs to test the set-up. Can somebody help? I'd really
appreciate it!
It looks like they managed to install OpenCL headers that do not match
their OpenCL ICD loader. (that's libOpenCL.so) The consequence of this
is that pyopencl thinks it's building against an ICD loader that
supports OpenCL 2 (the SVM functions are part of OpenCL 2), but
libOpenCL.so then apparently doesn't provide those functions.
If fixing their installation is not an option, they should also be able
to work around it by forcing pyopencl onto an artificially older version
of the spec. To do that, create (or edit) a file called 'siteconf.py'
containing (at least) the line
CL_PRETEND_VERSION = "1.2"
and rebuild:
rm -Rf build
pip install .
HTH,
Andreas
_______________________________________________
PyOpenCL mailing list
[email protected]
https://lists.tiker.net/listinfo/pyopencl