Hi,

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.

http://developer.amd.com/support/KnowledgeBase/Lists/KnowledgeBase/DispForm.aspx?ID=71

-- 
Rohit Garg

http://rpg-314.blogspot.com/

Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay

_______________________________________________
PyOpenCL mailing list
[email protected]
http://tiker.net/mailman/listinfo/pyopencl_tiker.net

Reply via email to