Dnia 2012-12-12, śro o godzinie 15:07 -0500, Tyler Hardin pisze:
> With this insanely simple test program, I get the error in the subject
> line.
> 
> import pyopencl as cl
> platform = cl.get_platforms()
> 
> $python test.py
> Traceback (most recent call last):
>   File "test.py", line 3, in <module>
>     platform = cl.get_platforms()
> pyopencl.LogicError: clGetPlatformIDs failed: platform not found khr
> 
> I know it must be an installation problem but what library is causing
> it and why is what I can't figure out.
> 
> I have ocl-icd-libopencl1 and nvidia-opencl-icd installed. My card is
> a GeForce 630M.

So I assume that you have Debian (names of packages seems familiar).
Have you installed PyOpenCL from source, or from repository?

If from source, do you have 32-bit or 64-bit OS?
And what is the result of
$ ldd _cl.so
(_cl.so is the library used by PyOpenCL to run OpenCL functions).

Also, can you install amd-clinfo package, run it (clinfo) and
post its output?

Regards.

-- 
Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to