Hey, Philippe, Philippe Tillet <phil.til...@gmail.com> writes: >> I was thinking about another nice-to-have feature. I'd quite like to >> make it possible (if it is in fact possible..) to play with prototyping >> implementations of other algorithms for ViennaCL in PyViennaCl using >> PyOpenCL and PyCUDA; for instance (just picking a recently discussed >> example) to implement using PyOpenCL a cl_program for sparse matrix >> multiplication, and be able to use the resultant buffer like any other >> PyViennaCL matrix object. I don't know if it would be worthwhile to hook >> into the generator or scheduler at this point. >> >> Just personally, I'd quite like this functionality, because I do find >> rapid development easier in Python than C++, and I would like to play >> with implementing matrix algorithms at some point in the future. >> >> > It would be a nice feature which would help development and contributions > from external developers. However, I would greatly advise to implement it > for C++ in first place. It is very easy to do at this level (basically a > switch before the program is compiled checking for user-provided source). > I'd even wait for the external-blas linking feature for that, since some > nice overloads could help. The interface for blas-linking is not precisely > defined yet. Except of: > > -> viennacl::link(GEMM_OR_WHATEVER, viennacl::cl_amd_blas) > > One would have > > -> viennacl::link(GEMM_OR_WHATEVER, awesome_source_code)
Yes, this is definitely along the lines of my thinking, and I agree that I should wait a bit (in any case, I'll have to, since I won't really be free from my work at the moment till the summer :S); it's mainly a feature that I'd like to implement in a follow-up GSoC project this year. I also agree that it should be implemented in C++ -- and I'm definitely of the opinion that if anything could usefully be shared by other parts of ViennaCL, it should go in C(++) in the core. Best wishes, Toby ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ ViennaCL-devel mailing list ViennaCL-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viennacl-devel