Stan Tomov wrote:As with LAPACK, a MAGMA OpenCL port would be easy if for example vendors provide optimized BLAS implementations.
You may want to have a look at the ViennaCL project (http://viennacl.sourceforge.net/
): they provide a complete, efficient BLAS implementation (up to level 3), plus some additional goodies. The only catch is that it is in C++, so that may pose you some more (minor) problems in calling it from MAGMA, with respect to e.g. cublas, i.e. you would have to wrap your data in viennacl objects. Worth investigating?