On Samstag 28 Februar 2009, Nicholas Tung wrote: > Hi Andreas, > > I'm noticing that once in a while, the mem_alloc function seems to be > taking a long time (0.46 seconds for me); it doesn't happen in the first > allocation, and seems to occur irrespective of allocation size. Can you > tell me if you notice the same thing in any of your larger projects? Below > is some [maybe excessive for small debugging] code to wrap functions > (decorator @time_fcn(name)) with time.time() (such that the real time is > measured instead of the cpu time; I also found that time.sleep was > necessary to get better measurements).
I noticed that, too: http://documen.tician.de/pycuda/util.html#memory-pools :) Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
