-
Notifications
You must be signed in to change notification settings - Fork 97
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
[error] pyopencl #596
Comments
On Sun, 11 Jun 2017 14:20:30 -0700 "Christopher J. Wright" ***@***.***> wrote:
I got the following error using the conda-forge pyopencl (it is the same version as the pip one)
pyopencl.cffi_cl.LogicError: clGetPlatformIDs failed: <unknown error -1001>
```
Thoughts?
I have often seen such things with "improper" OpenCL Drivers.
Try to run "clinfo". Basically it lists you all drivers, platforms and
devices, like what pyopencl was doing when crashing. It may be more robust.
Among the "improper" drivers, "mesa" has often been an issue. "pocl",
especially the elder version <=0.10 were often mis-behaving.
Are you under linux ?
if so there is a /etc/OpenCL/vendors directory with one file per driver (usually <4).
You can try to comment out the content of each file (one after the
other) you can spot the culprit driver.
Among "safe" drivers, "AMD", "Intel" and "nvidia" are tested for years
without trouble. "Beignet" is promising but some combination of
hardware/kernel-version/driver-version were problematic.
Cheers,
Jerome
|
Hello, It would be nice to unactive opencl when this error is reported durint the import of pyFAI. to avoid this :)
reported by one of my users ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got the following error using the conda-forge pyopencl (it is the same version as the pip one)
Thoughts?
The text was updated successfully, but these errors were encountered: