Hi Riaan, On Fri, 28 Jan 2011 14:49:10 +0200, Riaan van den Dool <[email protected]> wrote: > Would it be possible at all to create a version of PyOpenCL that does not > link to and does not need any proprietary drivers? Maybe via a make option. > > I think it will help adoption of pyOpenCL if code that is written using > pyopencl will 'always run' even if no GPU is available. > > If there is already such a version, please excuse my ignorance and point me > in the right direction.
I'll answer with a collection of a few facts: - It is possible to use OpenCL on the CPU only, by way of AMD's OpenCL implementation. http://developer.amd.com/gpu/AMDAPPSDK/Pages/default.aspx This will work even if no GPU is available. (Apple Snow Leopard and later also always have a CPU implementation.) - No open-source implementation of OpenCL currently exists, but there is one in the works here: http://cgit.freedesktop.org/mesa/clover/tree/ - Making PyOpenCL work even if no CL implementation is available is explicitly not one of the projects goals. This would amount to building a CL implementation, which would best be accomplished in a separate project. - The mailing list for PyOpenCL is [email protected], not [email protected]. HTH, Andreas
pgp2cVfrXIZdj.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
