Sijiang Chen <sc30.ucc(a)gmail.com> writes:
I had a chat with Antonio Beamud and he helped me on how to set up
installation on ubuntu(This installation is based on a clean ubuntu and
addition drivers(nvidia) installed).
*sudo apt-get install python-pyopencl
When I type the second command, and error occurs.
*Execution time of test without OpenCL: 9.42699384689 s
Traceback (most recent call last):
File "/usr/share/doc/python-pyopencl/examples/benchmark-all.py", line 24,
for platform in cl.get_platforms():
pyopencl.LogicError: clGetPlatformIDs failed: invalid/unknown error code*
Antonio's card is ATI and he had no problem with it, mine is Nvidia driver
and it is installed by additional drivers, below is the additional drivers
screenshot:[image: Inline images 1]
By any chance, is there anyone could help me to solve this? Thanks.
Which OpenCL library did you install? (In Debian, there are
amd-libopencl1, nvidia-libopencl1, and a few more. Not sure how Ubuntu
works in this regard.)
What's the output of