allendaicool / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

Matrix Support #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to support device and host matrices, as CUDA has native
support for them.

Original issue reported on code.google.com by XTra.Kra...@gmail.com on 19 Jul 2009 at 12:29

GoogleCodeExporter commented 9 years ago
Marking as request for enhancement.

Original comment by jaredhoberock on 22 Jul 2009 at 6:58

GoogleCodeExporter commented 9 years ago
thrust is very efficient, but our project need to manipulate the matrices, i 
have to drop it, sad, hoping thrust could native support matrices in future 

Original comment by hezhenmi...@gmail.com on 1 Jul 2010 at 10:09

GoogleCodeExporter commented 9 years ago
I've been working on device_matrix following on an interface of Eigen 3.x. 
device_matrix will wrap the culbas for matrix operation and use expression 
template to enhance the performance. The job is just starting. 

Original comment by SunMingming on 11 Jul 2010 at 10:39

GoogleCodeExporter commented 9 years ago
Sun, that sounds like a great idea. Please keep us informed about your progress 
and if there's anything we can do to help!

Original comment by wnbell on 11 Jul 2010 at 6:52

GoogleCodeExporter commented 9 years ago
Than you for your interests! I just finished wraping some matrix-matrix and 
matrix-scalar functions of CUBLAS using expression template. I will wrap 
matrix-vector functions in next few days and complete the matrix operation 
expression interface. Array operation expression interfaces will be added 
later. Matrix sub-blocks operation is also an important task. 

However, current wrap is simple and not efficient enough. Optimization is the 
main objective of next stage. Unfolding the expresson template in the kernel 
function may bring better performance than wraping CUBLAS for plus and minus 
operation. 

Original comment by SunMingming on 14 Jul 2010 at 2:39

GoogleCodeExporter commented 9 years ago

Original comment by wnbell on 23 Jul 2010 at 12:24

GoogleCodeExporter commented 9 years ago
I've just published GPUMatrix 0.1 at http://code.google.com/p/gpumatrix/. I'm 
working on my research project so the code is somewhat rough and the document 
is absent. But it do help in my research project. I can switch computation 
between GPU and CPU just define the MatrixType to GPUMatrix or Eigen::MatrixXd. 
I wish it can help. Any suggestion is welcome. 

Best wishes! 

Original comment by SunMingming on 22 May 2011 at 10:59

GoogleCodeExporter commented 9 years ago

Original comment by jaredhoberock on 7 May 2012 at 9:44