I just downloaded, compiled and installed pyopencl from the git tree.
I am using AMD's opencl sdk for cpu's and it is working alright. When
I tried to run the demo.py example in the pyopencl distribution, it
threw an error.
Traceback (most recent call last):
File "demo.py", line 8, in <module>
ctx = cl.Context()
pyopencl.LogicError: Context failed: invalid platform
It appears that these examples have to be modified to specifically
select the device as now AMD's sdk ships with an ICD.
Here's the corresponding C example.
Department of Physics
Indian Institute of Technology