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

Andreas

Attachment: pgp3yPsDHQInX.pgp
Description: PGP signature

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to