On Tue, 13 Dec 2011 10:45:00 +0100, Guillermo Andrade Barroso <[email protected]> wrote: > testKernel(d_idata,d_odata,np.int32(num_data), block=threads, grid= grid, > shared=shared_mem_size) > > > I get this message : > > .../lib64/python2.6/site-packages/pycuda-2011.2.1-py2.6-linux-x86_64.egg/pycuda/driver.py:168: > DeprecationWarning: 'set_shared_size' has been deprecated in version 2011.1. > Please use the stateless launch interface instead. > > func.set_shared_size(shared) > > > if I understand you, this kernel call is good for now and for future > versions. But in the current version there is a transition warning. > Isn't it ?
Good point. That warning is spurious. Fixed in git, thanks for the report. Andreas
pgpOI7IyYSrDh.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
