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

Re: [ViennaCL-devel] ViennaCL reductions

2015-08-05 Thread Karl Rupp
et" > > *Sent:* Monday, August 3, 2015 1:23 AM > *Subject:* Re: [ViennaCL-devel] ViennaCL reductions > > Hi Sumit, > > > I was trying to run sparse matrix multiplication, but one of my explicit > > template typedefs had Int. After some digging, I found out tha

Re: [ViennaCL-devel] ViennaCL reductions

2015-08-05 Thread Karl Rupp
--- > > *From:* Karl Rupp mailto:r...@iue.tuwien.ac.at>> > > *To:* Sumit Kumar mailto:dost_4_e...@yahoo.com>> > > *Cc:* "viennacl-devel@lists.sourceforge.net > <mailto:viennacl-devel@lists.sourceforge.net>" &

Re: [ViennaCL-devel] ViennaCL reductions

2015-08-04 Thread Sumit Kumar
15 1:23 AM Subject: Re: [ViennaCL-devel] ViennaCL reductions Hi Sumit, > I was trying to run sparse matrix multiplication, but one of my explicit > template typedefs had Int. After some digging, I found out that CSR only > supported Float or double. Is there any reason for this?

Re: [ViennaCL-devel] ViennaCL reductions

2015-08-02 Thread Sumit Kumar
devel@lists.sourceforge.net" Sent: Monday, August 3, 2015 1:23 AM Subject: Re: [ViennaCL-devel] ViennaCL reductions Hi Sumit, > I was trying to run sparse matrix multiplication, but one of my explicit > template typedefs had Int. After some digging, I found out that CSR only >

Re: [ViennaCL-devel] ViennaCL reductions

2015-08-02 Thread Karl Rupp
t it. Best regards, Karli > > *From:* Karl Rupp > *To:* Sumit Kumar > *Cc:* "viennacl-devel@lists.sourceforge.net" > > *Sent:* Friday, July 31, 2015 9:04 PM > *Subject:* Re: [ViennaCL-devel] ViennaCL red

Re: [ViennaCL-devel] ViennaCL reductions

2015-08-02 Thread Sumit Kumar
; Sent: Friday, July 31, 2015 9:04 PM Subject: Re: [ViennaCL-devel] ViennaCL reductions Hi Sumit, > I am aware that Eigen can do it for its matrices and I am also aware > that VCL cannot do it natively. My question was this: > In your example of interfacing with Eigen, you have shown a

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-31 Thread Karl Rupp
Hi Sumit, > I am aware that Eigen can do it for its matrices and I am also aware > that VCL cannot do it natively. My question was this: > In your example of interfacing with Eigen, you have shown a VCL dense > matrix interfacing with an Eigen dense matrix. Do you have any example > of interfacin

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-31 Thread Sumit Kumar
Sparse matrix with a VCL dense matrix? Thanks and Regards Sumit From: Karl Rupp To: Sumit Kumar Cc: "viennacl-devel@lists.sourceforge.net" Sent: Friday, July 31, 2015 6:20 PM Subject: Re: [ViennaCL-devel] ViennaCL reductions Hi Sumit, > I know that we can copy a dense

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-31 Thread Karl Rupp
ennacl-devel@lists.sourceforge.net" > > *Sent:* Tuesday, July 28, 2015 4:01 PM > *Subject:* Re: [ViennaCL-devel] ViennaCL reductions > > Hi, > > > That worked. So, the final question I have would be as follows: > > viennacl::copy(vcl_C, eigen_mat); > > is

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-31 Thread Sumit Kumar
devel@lists.sourceforge.net" Sent: Tuesday, July 28, 2015 4:01 PM Subject: Re: [ViennaCL-devel] ViennaCL reductions Hi, > That worked. So, the final question I have would be as follows: > viennacl::copy(vcl_C, eigen_mat); > is a valid statement > However, if I want to copy vc

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-29 Thread Sumit Kumar
nacl-devel@lists.sourceforge.net" Sent: Wednesday, July 29, 2015 2:44 PM Subject: Re: [ViennaCL-devel] ViennaCL reductions Hi Sumit, > ViennaCL: Sparse Matrix-Matrix Multiplication > <http://www.iue.tuwien.ac.at/cse/index.php/gsoc/2014/ideas/167-viennacl-sparse-matrix-matrix-multiplicati

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-29 Thread Karl Rupp
Hi Sumit, > ViennaCL: Sparse Matrix-Matrix Multiplication > > Description > View on www.iue.tuwien.ac.at >

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-29 Thread Sumit Kumar
://eigen.tuxfamily.org/dox/classEigen_1_1Map.html Best regards, Karli > > *From:* Karl Rupp > *To:* Sumit Kumar > *Cc:* "viennacl-devel@lists.sourceforge.net" > > *Sent:* Tuesday, July 28, 2015 2:06 AM > *Subject:* Re: [ViennaCL-d

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-28 Thread Karl Rupp
x/classEigen_1_1Map.html Best regards, Karli > > *From:* Karl Rupp > *To:* Sumit Kumar > *Cc:* "viennacl-devel@lists.sourceforge.net" > > *Sent:* Tuesday, July 28, 2015 2:06 AM > *Subject:* Re: [ViennaCL-devel] ViennaCL reductions > > Hi, > > > Th

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-28 Thread Sumit Kumar
 Thanks and Regards Sumit From: Karl Rupp To: Sumit Kumar Cc: "viennacl-devel@lists.sourceforge.net" Sent: Tuesday, July 28, 2015 2:06 AM Subject: Re: [ViennaCL-devel] ViennaCL reductions Hi, > That's why I explicitly stated in my previous mail "Optional&

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-27 Thread Karl Rupp
which work for vectors and matrices alike. Best regards, Karli > > *From:* Karl Rupp > *To:* Sumit Kumar > *Cc:* "viennacl-devel@lists.sourceforge.net" > > *Sent:* Monday, July 27,

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-27 Thread Sumit Kumar
go element_wise multiplication ?b.) A unary operation on a matrix that has been transferred to the GPU? Thanks and Regards Sumit From: Karl Rupp To: Sumit Kumar Cc: "viennacl-devel@lists.sourceforge.net" Sent: Monday, July 27, 2015 9:13 PM Subject: Re: [ViennaCL-devel] ViennaC

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-27 Thread Karl Rupp
re they are not needed. Best regards, Karli > > *From:* Karl Rupp > *To:* Sumit Kumar > *Cc:* "viennacl-devel@lists.sourceforge.net" > > *Sent:* Monday, July 27, 2015 7:03 PM > *Subject:* Re: [ViennaCL-devel] ViennaCL reducti

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-27 Thread Sumit Kumar
nt: Monday, July 27, 2015 7:03 PM Subject: Re: [ViennaCL-devel] ViennaCL reductions Hi Sumit, > Thanks for the update. I will check it out. As for the second one, > indeed thats what I ended up doing: > >    // Get some context information for OpenCL compatible GPU devices > 

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-27 Thread Karl Rupp
Hi Sumit, > Thanks for the update. I will check it out. As for the second one, > indeed thats what I ended up doing: > >// Get some context information for OpenCL compatible GPU devices >viennacl::ocl::platform pf; >std::vector devices = > pf.devices(CL_DEVICE_TYPE_GPU); >// If no

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-27 Thread Sumit Kumar
: Monday, July 27, 2015 5:43 PM Subject: Re: [ViennaCL-devel] ViennaCL reductions Hi Sumit, > Thanks for the update. Indeed, support for RM matrices would be helpful. Added right here: https://github.com/viennacl/viennacl-dev/commit/7d29adf3970d5eaefef448742101c5a5960d773f > I did

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-27 Thread Karl Rupp
Cc:* "viennacl-devel@lists.sourceforge.net" > > *Sent:* Sunday, July 26, 2015 11:37 PM > *Subject:* Re: [ViennaCL-devel] ViennaCL reductions > > Hi Sumit, > > > Thanks for the information. I have a second problem that has cropped up! > > a.) Apparently, I cannot

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-27 Thread Sumit Kumar
picking up b.) whereas I want to pick up c.)Can anyone share an example of how to go about doing this? Thanks and Regards Sumit From: Karl Rupp To: Sumit Kumar Cc: "viennacl-devel@lists.sourceforge.net" Sent: Sunday, July 26, 2015 11:37 PM Subject: Re: [ViennaCL-devel

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-26 Thread Karl Rupp
Hi Sumit, > Thanks for the information. I have a second problem that has cropped up! > a.) Apparently, I cannot copy a Row-Major Eigen matrix to a vcl matrix! > It comes up with weird errors. I was using the default statements from > the examples folder. The moment I changed it to Column Major ei

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-26 Thread Sumit Kumar
Regards Sumit From: Karl Rupp To: Sumit Kumar Cc: "viennacl-devel@lists.sourceforge.net" Sent: Sunday, July 26, 2015 5:13 PM Subject: Re: [ViennaCL-devel] ViennaCL reductions Hi Sumit, > I have the following reduction that I can do in Eigen. Is there > something

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-26 Thread Karl Rupp
Hi Sumit, > I have the following reduction that I can do in Eigen. Is there > something similar that I can do in ViennaCL? > RMMatrix_Float v = (prod.block(0,0,rows,cols).rowwise() - > aVector.transpose()); you can use outer_prod() for this. First argument is a vector of all ones, the second ar

Re: [ViennaCL-devel] ViennaCL reductions

2015-07-25 Thread Sumit Kumar
KarlI have the following reduction that I can do in Eigen. Is there something similar that I can do in ViennaCL? RMMatrix_Float v = (prod.block(0,0,rows,cols).rowwise() - aVector.transpose());RMSparseMatrix_Float v1 = v.unaryExpr(std::ptr_fun(clip_lower)).sparseView(); Essentially, I am subtrac