Sven Schreiber <[email protected]> writes: > Am 22.09.2013 01:06, schrieb Andreas Kloeckner: >> Sven Schreiber <[email protected]> writes: >> >>> Hi, >>> >>> I suspect that I'm running into this problem described on >>> http://documen.tician.de/pyopencl/tools.html: >>> >>> "The constructor pyopencl.Buffer() can consume a fairly large amount of >>> processing time if it is invoked very frequently. For example, code >>> based on pyopencl.array.Array can easily run into this issue because a >>> fresh memory area is allocated for each intermediate result." >>> >>> So I wanted to try the recommended memory pools, but I'm a bit lost. >>> Does anybody have a (preferably working...) example? >> >> https://github.com/pyopencl/pyopencl/blob/master/test/test_array.py#L501 >> > > Thanks, it's amazing how easy it is once you know how --- I suggest to > link to or mention that test file on the doc web page above.
Done: http://documen.tician.de/pyopencl/tools.html Andreas
pgpVMfGu1v7qh.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
