Bogdan Opanchuk wrote > > On Sat, Sep 1, 2012 at 8:05 PM, ggeo <ggeo1@> 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 > PyCUDA@ > http://lists.tiker.net/listinfo/pycuda >
Ok, that worked.Thank you! -- View this message in context: http://pycuda.2962900.n2.nabble.com/NameError-name-STACK-SIZE-is-not-defined-tp7574828p7574830.html Sent from the PyCuda mailing list archive at Nabble.com. _______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
