Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Hodgess, Erin
udasize > ### Keywords: package > > ### ** Examples > > require(cudasize) > z <- .Call("cuda4",1L,"5") Error in .Call("cuda4", 1L, "5") : C symbol name "cuda4" not in load table Execution halted c:\Program Files\R\R-3.0.1\bin\i

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Hodgess, Erin
uda4", as.character(5)) : > C symbol name "cuda4" not in load table > Execution halted > > c:\Program Files\R\R-3.0.1\bin\i386> > > I still want to keep at it. > > Thanks so much for all of your help!!! > > Erin > > ____

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Duncan Temple Lang
s.character(5)) : > C symbol name "cuda4" not in load table > Execution halted > > c:\Program Files\R\R-3.0.1\bin\i386> > > I still want to keep at it. > > Thanks so much for all of your help!!! > > Erin > > ___

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Hodgess, Erin
p!!! Erin From: Duncan Temple Lang [dtemplel...@ucdavis.edu] Sent: Thursday, July 18, 2013 1:09 PM To: Hodgess, Erin Cc: r-devel@r-project.org Subject: Re: [Rd] question about Makeconf and nvcc/CUDA Hi Erin It appears that there is only one file in src that i

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Duncan Temple Lang
rray and copy it to CUDA device > for (int i=0; i cudaMemcpy(a_d, a_h, size, cudaMemcpyHostToDevice); > // Do calculation on device: > int block_size = 4; > int n_blocks = N/block_size + (N%block_size == 0 ? 0:1); > square_array <<< n_blocks, block_size >>>

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Hodgess, Erin
Hi again: Here is another problem that I am having. Hope this will be the last one. I really want to see if I can put it together. Sorry for belaboring the issue. Well, here is my story: c:\Program Files\R\R-3.0.1\bin\i386>R CMD build cudasize R CMD build cudasize * checking for file 'cudasi

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Duncan Temple Lang
Hi Erin Glad you are making progress on this with Brian's help. I thought I would mention a different approach that might save you some programming time and actually make the code more flexible at the same time. Basically, in a high-level language like R, it is nice to keep the code calling a

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Prof Brian Ripley
fe2.gpu cuda4.cu tmpxft_13d4_-5_cuda4.cudafe1.cpp tmpxft_13d4_-15_cuda4.ii So that is my situation. This is Windows 7, R version 3.0.1 Thanks, Erin From: r-devel-boun...@r-project.org [r-devel-boun...@r-project.org] on behalf of Prof Brian Ripley

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Hodgess, Erin
4_-15_cuda4.ii So that is my situation. This is Windows 7, R version 3.0.1 Thanks, Erin From: r-devel-boun...@r-project.org [r-devel-boun...@r-project.org] on behalf of Prof Brian Ripley [rip...@stats.ox.ac.uk] Sent: Thursday, July 18, 2013 2:44 AM To: r-d

Re: [Rd] question about Makeconf and nvcc/CUDA

2013-07-18 Thread Prof Brian Ripley
On 18/07/2013 07:45, Hodgess, Erin wrote: Dear R development: I'm not sure if this is the appropriate list, but it's a start. I would like to put together a package which contains a CUDA program on Windows 7. I believe that it has to do with the Makeconf file in the etc directory. That

[Rd] question about Makeconf and nvcc/CUDA

2013-07-17 Thread Hodgess, Erin
Dear R development: I'm not sure if this is the appropriate list, but it's a start. I would like to put together a package which contains a CUDA program on Windows 7. I believe that it has to do with the Makeconf file in the etc directory. But when I just use the nvcc with the shared opt