Thanks, Andreas. I have downloaded the latest snapshot from the git repository and it doesn't raise an exception anymore.
However, I have noticed something very strange. Although Apple's CL implementation on CPUs allegedly supports images (device.IMAGE_SUPPORT is 1), when I try to obtain the list of supported image formats I get an empty list. I've tried the same API using a simple C application and I get a list of 15 or 16 supported image formats, which is logical given that there's a minimum subset of image formats that any CL implementation exposing IMAGE_SUPPORT must provide. Cheers, David 2009/9/13 Andreas Klöckner <[email protected]> > On Sonntag 13 September 2009, David Garcia wrote: > > It looks like function gl_get_image_formats is currently broken. > > > > >>> tmp = cl.get_supported_image_formats(self.clctx, flags, > > > > cl.mem_object_type.IMAGE2D) > > TypeError: No to_python (by-value) converter found for C++ type: > > std::vector<_cl_image_format, std::allocator<_cl_image_format> > > > Should be ok in git--this got fixed Friday night. > > Andreas > > _______________________________________________ > PyOpenCL mailing list > [email protected] > http://tiker.net/mailman/listinfo/pyopencl_tiker.net > >
_______________________________________________ PyOpenCL mailing list [email protected] http://tiker.net/mailman/listinfo/pyopencl_tiker.net
