Hi all, I've just added support for complex numbers to PyOpenCL's array type. This also includes a complex number facility you can use in your own kernels, see here:
http://documen.tician.de/pyopencl/array.html#complex-numbers In addition, I've added a rudimentary facility for translating Fortran kernels to OpenCL, see here: https://github.com/inducer/pyopencl/tree/master/contrib/fortran-to-opencl This is very experimental and doesn't implement a fair bunch of stuff, but it did what I needed it do (convert code for some special functions). It *does* treat complex numbers correctly (go figure). I'd be interested in feedback/patches. Andreas
pgpOigjwZovrU.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
