pyopencl does not respect OCL_ICD_FILENAMES
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 247
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 6
Description
MWE:
```
$ python -c "import pyopencl; print(pyopencl.get_platforms())"
[]
$ clinfo -l
Platform #0: Intel(R) FPGA Emulation Platform for OpenCL(TM)
`-- Device #0: Intel(R) FPGA Emulation Device
Platform #1: Intel(R) OpenCL
`-- Device #0: Intel(R) Xeon(R) W-2245 CPU @ 3.90GHz
Platform #2: NVIDIA CUDA
`-- Device #0: Quadro P400
```
So pyopencl does not find platforms whose shared objects are found in the `OCL_ICD_FILENAMES` environment variable. I'm not sure why since `get_platforms` simply wraps `clGetPlatformIDs`, doesn't it?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.