pycuda_newbie <[email protected]> writes:

> Hi,
>  I am new to pyCuda, and am getting the following error when trying to use
> the  Sparse solver example from
> http://wiki.tiker.net/PyCuda/Examples/SparseSolve
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> File
> "~/python2.7/~/pycuda-2013.1.1-py2.7-linux-x86_64.egg/pycuda/sparse/cg.py",
> line 220, in solve_pkt_with_cg
>     cg.reset(pkt_spmv.permute(b), x)
> File
> "~/python2.7/~/pycuda-2013.1.1-py2.7-linux-x86_64.egg/pycuda/sparse/cg.py",
>  line 109, in reset
>    self.residual = rhs - self.operator(x)
>   File
> "~/python2.7/~/pycuda-2013.1.1-py2.7-linux-x86_64.egg/pycuda/sparse/packeted.py",
> line 333, in __call__
>     y.gpudata) 
>  File
> "~/python2.7/~/pycuda-2013.1.1-py2.7-linux-x86_64.egg/pycuda/driver.py",
> line 429, in function_prepared_call
>     func.param_set_texref(texref)
> Boost.Python.ArgumentError: Python argument types in
>     Function.param_set_texref(Function, int)
> did not match C++ signature:
>    param_set_texref(pycuda::function {lvalue}, pycuda::texture_reference)
>
> I am using CUDA-5.5 , boost-1.54.0 and pyCuda-2013-1.1 . 
> The test_*.py code from pycuda/test/ are running fine, apart from minor
> assertion error. Any help is more than appreciated.
>
> Thankyou and best regards.

Sorry, this was broken. It's fixed in git. Thanks for the report.

Andreas

Attachment: pgphiAmQqK98O.pgp
Description: PGP signature

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to