Re: [ViennaCL-devel] ViennaCL fast_copy() matrices

2015-08-05 Thread Karl Rupp
> I am aware of the methodology. However, is there any example / can you > share some examples of interfacing an Eigen matrix with fast_copy ? As > per the API, if we detect an Eigen Matrix then something specific for > VCL & Eigen comes up. Sumit, don't get me wrong, but this is basic C/C++. Jus

Re: [ViennaCL-devel] ViennaCL fast_copy() matrices

2015-08-05 Thread Sumit Kumar
KarlI am aware of the methodology. However, is there any example / can you share some examples of interfacing an Eigen matrix with fast_copy ? As per the API, if we detect an Eigen Matrix then something specific for VCL & Eigen comes up. Thanks and Regards Sumit From: Karl Rupp To: Sumit

Re: [ViennaCL-devel] ViennaCL reductions

2015-08-05 Thread Sumit Kumar
Hah ! I will need to learn Group Theory first !! (though it sounds interesting)  Thanks and Regards Sumit From: Karl Rupp To: Sumit Kumar Cc: "viennacl-devel@lists.sourceforge.net" Sent: Wednesday, August 5, 2015 7:47 PM Subject: Re: [ViennaCL-devel] ViennaCL reductions > http:/

Re: [ViennaCL-devel] ViennaCL reductions

2015-08-05 Thread Karl Rupp
> http://arxiv.org/pdf/math/0307321v2.pdf > Can this be implemented? I am not aware of Group theory :) > Apparently, this has a complexity of O(n^2) ! Well, O(n^2) does not have any practical value without specifying the constants. For example, 100*n^2 won't be faster than 2*n^3 for any

Re: [ViennaCL-devel] ViennaCL Matrix multiplication

2015-08-05 Thread Karl Rupp
On 08/04/2015 08:21 AM, Sumit Kumar wrote: > Hi Karl > Based on all your suggestions, > I came up with this implementation: > >// Copy Sparse Eigen matrices to Dense viennacl matrices >typedef Eigen::Matrix Eigen::RowMajor> RMMatrix; >viennacl::matrix > vcl_A(source->rows(),

Re: [ViennaCL-devel] ViennaCL fast_copy() matrices

2015-08-05 Thread Karl Rupp
Hi, > I have a dense matrix (2048 x 2048) on the GPU and I want to copy it > back to a host matrix on the CPU (2048 x 2048). Is there any example of > using fast_copy() ? 2048 is a multiple of 128. examples/benchmarks/dense_blas.cpp http://viennacl.sourceforge.net/doc/namespaceviennacl.html#a92

Re: [ViennaCL-devel] ViennaCL reductions

2015-08-05 Thread Karl Rupp
Hi Sumit, > Bah :) Looks like I am the first one to ask about this. Yeah, that would > be helpful (at least int and long) Charles opened up an issue for tracking purposes: https://github.com/viennacl/viennacl-dev/issues/153 > The second one is moot. So, if CSR is not supported for Column-Major