[Cython] OpenCL support

Stefan Behnel stefan_ml at behnel.de
Mon Feb 6 08:22:26 CET 2012


mark florisson, 06.02.2012 00:12:
> On 5 February 2012 22:39, Dimitri Tcaciuc wrote:
>> 3. Does it make sense to make OpenCL more explicit? Heuristics and
>> automatic switching between, say, CPU and GPU is great for eg. Sage
>> users, but maybe not so much if you know exactly what you're doing
>> with your machine resources. E.g just having a library with thin
>> cython-adapted wrappers would be awesome. I imagine this can be
>> augmented by arrays having a knowledge of device-side/client-side
>> (which would go towards addressing the issue 1. above)
> 
> Hm, there are several advantages to supporting this in the language.

... and there's always the obvious disadvantage of making the language too
complex and magic to learn and understand. Worth balancing.

Stefan


More information about the cython-devel mailing list