
Greetings,

I use the R packages "gputools" and "rgpu" for GPU related functions. They are quite good especially the "gputools" package.

Also if you look at the innards of these packages you can find out how to call CUDA code from R.  

GATLAS is very interesting. Will give it a shot.

Regards,

Hamaad Musharaf Shah.

> From: r-sig-hpc-request@r-project.org
> Subject: R-sig-hpc Digest, Vol 25, Issue 3
> To: r-sig-hpc@r-project.org
> Date: Wed, 20 Oct 2010 12:00:08 +0200
> 
> Send R-sig-hpc mailing list submissions to
> 	r-sig-hpc@r-project.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
> or, via email, send a message with subject or body 'help' to
> 	r-sig-hpc-request@r-project.org
> 
> You can reach the person managing the list at
> 	r-sig-hpc-owner@r-project.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of R-sig-hpc digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Use R on Cuda (Ei-ji Nakama)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 20 Oct 2010 14:14:11 +0900
> From: Ei-ji Nakama <nakama@ki.rim.or.jp>
> To: Marcelo Lima <mlimagb@gmail.com>
> Cc: r-sig-hpc@r-project.org
> Subject: Re: [R-sig-hpc] Use R on Cuda
> Message-ID:
> 	<AANLkTi=aWvOsxdTevgVHFiD7j=tL1ADs0cbRYoc_JkxS@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi,
> 
> There is GATLAS.
> http://golem5.org/gatlas/
> 
> I have one GTX480.:(
> However, that there is a problem in GTX480 is written in GATLAS homepage.
> 
> Some coding is necessary to use GATLAS from R.
> 
> 2010/10/19 Marcelo Lima <mlimagb@gmail.com>:
> > Thanks a lot for help.
> >
> > I was able to run in cuda, but it just used one gpu core. I have 3 GeForce
> > GTX 480, any suggestions to run with all gpus?
> >
> >
> > Regards.
> >
> > Marcelo.
> >
> > On Tue, Oct 19, 2010 at 1:37 AM, Ei-ji Nakama <nakama@ki.rim.or.jp> wrote:
> >>
> >> Hi,
> >> I performed only a simple experiment.
> >>
> >> 1. wrapper for gemm
> >> http://prs.ism.ac.jp/~nakama/cudablas_gemm/
> >>
> >> 2. make
> >>
> >> 3 LANG=C make test
> >>
> >> $ LANG=C make test
> >> R -q -e
> >> 'set.seed(1);N<-4e3;A<-matrix(runif(N^2),N,N);system.time(B<-A%*%A)'
> >> | sed -e '/^>/d'
> >> ? user ?system elapsed
> >> ?9.976 ? 0.160 ? 1.761
> >> LD_PRELOAD=./gemm.so R -q -e
> >> 'set.seed(1);N<-4e3;A<-matrix(runif(N^2),N,N);system.time(B<-A%*%A)' |
> >> sed -e '/^>/d'
> >> ? user ?system elapsed
> >> ?0.968 ? 0.044 ? 1.008
> >> R -q -e
> >> 'set.seed(1);N<-4e3;A<-matrix(as.complex(runif(N^2)),N,N);system.time(B<-A%*%A)'
> >> | sed -e '/^>/d'
> >> ? user ?system elapsed
> >> ?39.098 ? 0.600 ? 6.619
> >> LD_PRELOAD=./gemm.so R -q -e
> >>
> >> 'set.seed(1);N<-4e3;A<-matrix(as.complex(runif(N^2)),N,N);system.time(B<-A%*%A)'
> >> | sed -e '/^>/d'
> >> ? user ?system elapsed
> >> ?3.388 ? 0.068 ? 3.454
> >>
> >> The size that I could operate depended on RAM of GPU.
> >>
> >>
> >> 2010/10/19 Marcelo Lima <mlimagb@gmail.com>:
> >> > Dear all,
> >> >
> >> > I'm trying to run R on a cuda 3X (GTX 480) using an i7 processor,
> >> > however I
> >> > haven't been successful. Any suggestions?!
> >> >
> >> > Thanks in advance,
> >> >
> >> > Marcelo
> >> >
> >> > --
> >> > Marcelo Andrade de Lima
> >> > UNIFESP - Universidade Federal de S?o Paulo
> >> > Departamento de Bioqu?mica
> >> > Disciplina de Biologia Molecular
> >> > Rua Tr?s de Maio 100, 4 andar - Vila Clementino, 04044-020
> >> > Lab +55 11 55764438 R.1188
> >> > Cell +55 11 92725274
> >> > mlima@unifesp.br
> >> >
> >> > ? ? ? ?[[alternative HTML version deleted]]
> >> >
> >> >
> >> > _______________________________________________
> >> > R-sig-hpc mailing list
> >> > R-sig-hpc@r-project.org
> >> > https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
> >> >
> >> >
> >>
> >>
> >> --
> >> EI-JI Nakama? <nakama (a) ki.rim.or.jp>
> >> "\u4e2d\u9593\u6804\u6cbb"? <nakama (a) ki.rim.or.jp>
> >
> >
> >
> > --
> > Marcelo Andrade de Lima
> > UNIFESP - Universidade Federal de S?o Paulo
> > Departamento de Bioqu?mica
> > Disciplina de Biologia Molecular
> > Rua Tr?s de Maio 100, 4 andar - Vila Clementino, 04044-020
> > Lab +55 11 55764438 R.1188
> > Cell +55 11 92725274
> > mlima@unifesp.br
> >
> 
> -- 
> EI-JI Nakama? <nakama (a) ki.rim.or.jp>
> "\u4e2d\u9593\u6804\u6cbb"? <nakama (a) ki.rim.or.jp>
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
> 
> 
> End of R-sig-hpc Digest, Vol 25, Issue 3
> ****************************************
 		 	   		  
	[[alternative HTML version deleted]]

