On Mon, 12 Dec 2011 14:03:23 -0800 (PST), Guillermo Andrade 
<[email protected]> wrote:
> 
> Andreas Kloeckner wrote
> > 
> > 
> > ...
> > Detailed list of changes in 2011.1:
> > 
> > ...
> > * Adopt stateless launch interface from CUDA, deprecate old one.
> > ...
> > 
> 
> Hello,
> 
> Could you explain us what are you meaning by that? 
> for example, how do you do now to set shared memory for  extern  __shared__
> declarations in kernels ?

All this information should now be passed to the kernel call, see here:

http://documen.tician.de/pycuda/driver.html#pycuda.driver.Function.__call__

CUDA (as of 4.0) has deprecated the stateful launch interface (i.e. "set
this, set that, go"). For now, PyCUDA still uses stateful launches under
the hood, but I've deprecated stateful launches in PyCUDA's user-facing
interface as well. That way, when CUDA does remove stateful launches,
I'll be in a better position to also remove the stateful interface in
PyCUDA and switch to the stateless one at the same time.

HTH,
Andreas

Attachment: pgpWZVCXVIvQa.pgp
Description: PGP signature

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

Reply via email to