On Wed, 23 May 2012 06:03:23 -0700 (PDT), ggeo <[email protected]> wrote: > So, is there a way to clear the memory in pycuda? > > > Maybe the memory collects garbage that 's why the different results?
There is such a thing. pycuda/examples/fill_gpu_with_nans.py. But you should realize that if your result depends on the previous state of memory, that is called: https://en.wikipedia.org/wiki/Undefined_behavior I.e. your program is wrong, end of story. Andreas
pgpKjZIwdRvNt.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
