Hi all, PyOpenCL finally has its own numpy.ndarray work-alikes. This has just landed in the git tree. The code is a port of PyCUDA's equivalent facilities, and like that code is built on machinery to evaluate arbitrary element-wise expressions. (See [1] for a description.)
I will add documentation as soon as I have time, for now you may read the source in pyopencl/array.py. Tests are available in test/test_array.py. Unrelatedly, I'm not sure if I mentioned this: Since last Friday, PyOpenCL git supports and wraps OpenCL 1.1 if it is available at compile time. (It will of course still compile against OpenCL 1.0 implementations.) Looks like we'll have a pretty packed 0.92 release. :) I'll cook up a release candidate soon. Andreas [1] http://documen.tician.de/pycuda/array.html#module-pycuda.elementwise
pgptUX8yhsBAg.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
