-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pocl Support #406
Comments
Works fine when building from source: https://gitlab.tiker.net/inducer/pyopencl/-/jobs/194730 I don't have the spare bandwidth to engineer the wheel build to do Pypy wheels. I've turned on PR builds on Travis. If you'd like to hack the Travis config to build these, I'd be happy to consider a PR. |
Thanks for the offer. Do you think this would add value to pyopencl? |
On Sat, 21 Nov 2020 20:02:00 -0800 Colin Manko ***@***.***> wrote:
Thanks for the offer. Do you think this would add value to pyopencl?
From a PyOpenCL user, this would definitely help. For now, we are using the
former intel ICD which used to works fairly well to test on CPU.
https://github.com/silx-kit/silx/blob/master/ci/intel_opencl_icd.sh
Having PoCL available by default would avoid testing with an unmaintained driver.
|
Hey @kif , I don't fully understand the opencl ecosystem yet, so forgive me I might not see your issue. But, why don't you build pocl from source? https://github.com/pocl/pocl |
@kif Two minor clarifications.
@big-c-note https://pypi.org/project/pocl-binary-distribution/ should work with pypy just fine in principle. There are no Python-specific bits in it. |
@inducer, thanks for pointing me to the intel driver. Their former driver was OK for all our test suite while pocl isn't OK yet. I am happy pocl improves gradually as it is currently the only way to access Nvidia GPUs via OpenCL on ARM&Power computers. And sorry again for the noise, I thought it was about PyPI (the package repository) and not PyPy (the Python implementation). |
Does pyopencl on pypi support pocl installation? I am trying to avoid conda if possible. Thank you!
From the docs: https://documen.tician.de/pyopencl/misc.html#installing-from-pypi-with-linux-wheels
On Linux, Ubuntu 20.04 if it matters
pip3 install pyopencl[pocl]
produces error:The text was updated successfully, but these errors were encountered: