Tomasz,

On Tue, 2012-07-24 at 21:28 +0200, Tomasz Rybak wrote:
[…]
> Can you:
> 1. Test programs with ocl-icd-libopencl1 (instead of nvidia-libopencl1)?
> ocl-icd-libopencl1 will want to remove nvidia-libopencl1 but do
> not worry, you will still be able to run OpenCL programs.

Making the replacement certainly allows for things to progress better. I
think the errors I am now getting are to do with kernel compilation,
which is likely nothing to do with this earlier problem.

> 2. Read /usr/share/doc/python-pyopencl/NEWS.Debian.gz?

I have to admit, no I didn't. I have now :-)

Now I understand why the original error.

> After 1. works, I am open to proposals how to allow for installation
> PyOpenCL with different libopencl1 implementations.

The error I am now getting is:

|> pi_python2_opencl.py
Traceback (most recent call last):
  File "./pi_python2_opencl.py", line 34, in <module>
    execute ( 1 )
  File "./pi_python2_opencl.py", line 26, in execute
    kernel.processSlice ( queue , results.shape , None , sliceSize , delta , 
results)
  File "/usr/lib/python2.7/dist-packages/pyopencl/__init__.py", line 457, in 
kernel_call
    self.set_args(*args)
  File "/usr/lib/python2.7/dist-packages/pyopencl/__init__.py", line 509, in 
kernel_set_args
    % (i+1, str(e), advice))
pyopencl.LogicError: when processing argument #1 (1-based): Kernel.set_arg 
failed: invalid value - invalid kernel argument


-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

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

Reply via email to