Re: [Rcpp-devel] examples of using cula matrix multiplication in Rcpp

2015-05-18 Thread Matt D.
On 5/18/2015 15:12, Dale Smith wrote: I'm not a big fan of GPU computing for many of the reasons Dirk mentions below and something else I discovered while taking a Coursera class last winter. CUDA requires significant effort to keep up your skills unless you do it semi-regularly or more oft

Re: [Rcpp-devel] examples of using cula matrix multiplication in Rcpp

2015-05-18 Thread Qiang Kou
I have played with CUDA for some time and here is my simple comments. (1) The simplest way to use CUDA with R/Armadillo is to use nvblas. You can see the demo on 21st page of [1]. (2) The speedup may not as good as expected sometimes (at least in my own experiments). Best wishes, KK [1] http:/

Re: [Rcpp-devel] examples of using cula matrix multiplication in Rcpp

2015-05-18 Thread Charles Determan
I am actually working on a general purpose GPU library for R using Rcpp and RcppArmadillo but it is still under heavy development. During these very early stages I have had an 'older' card (AMD Radeon HD 5700 Series) so I have been working primarily with OpenCL and the clBLAS library (which must b

Re: [Rcpp-devel] examples of using cula matrix multiplication in Rcpp

2015-05-18 Thread Dale Smith
I'm not a big fan of GPU computing for many of the reasons Dirk mentions below and something else I discovered while taking a Coursera class last winter. CUDA requires significant effort to keep up your skills unless you do it semi-regularly or more often. It's a very hard learning curve. I ca