Jesse Lu | 21 Feb 00:52
Picon
Favicon

setting shared memory size

Hi all,


This must be pretty obvious but I haven't been able to find the answer in the documentation...

What is the preferred way to set the size of the shared memory of a function using the prepare* interface?

I am using 2011.2.2 and receiving the following warning:

DeprecationWarning: setting the shared memory size in Function.prepare is deprecated

Thanks!

Jesse
Andreas Kloeckner | 7 Mar 18:51

Re: setting shared memory size

<#part sign=pgpmime>
On Mon, 20 Feb 2012 15:52:08 -0800, Jesse Lu <jesselu@...> wrote:
> Hi all,
> 
> This must be pretty obvious but I haven't been able to find the answer in
> the documentation...
> 
> What is the preferred way to set the size of the shared memory of a
> function using the prepare* interface?
> 
> I am using 2011.2.2 and receiving the following warning:
> 
> *DeprecationWarning: setting the shared memory size in Function.prepare is
> deprecated*

Fixed in git.

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

Thanks for the report,
Andreas


Gmane