On Sat, Sep 1, 2012 at 8:05 PM, ggeo <[email protected]> wrote:
> Hello ,
> the equivalent of cudaLimitStackSize is
>
> import pycuda.driver as drv
> print(drv.Context.set_limit(STACK_SIZE,number))   ,right?
>
> but it gives me " NameError: name 'STACK_SIZE' is not defined"

Don't forget the namespace. "drv.limit.STACK_SIZE" should work.

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

Reply via email to