Hi Willem, I have a simple C++ tutorial for doing that kind of thing, while it doesn't relate to PyOpenCL's wrappers maybe it will be useful to you? http://enja.org/2010/07/20/adventures-in-opencl-part-1-5-cpp-bindings/
I also have a corresponding PyOpenCL tutorial that does the same thing (for comparison) http://enja.org/2011/02/22/adventures-in-pyopencl-part-1-getting-started-with-python/ Good luck with the R implementation! On Thu, May 26, 2011 at 1:57 AM, Willem Ligtenberg < [email protected]> wrote: > For the wrapping around the C++ core, I think I will use Rcpp. > Which seems to make wrapping C(++) code quite easy. > It is not the R part I need pointers for, but pointers on which Cpp > files are best to begin with. > For example, which files would be required if I wanted to put a vector > of integers on the GPU, do a simple calculation (Kernel function) and > retrieve the results. > And of course if anyone wants to help out, they are very welcome. > > Kind regards, > > Willem > > On Thu, May 26, 2011 at 10:44, Bernard Spies <[email protected]> wrote: > > Hi Willem, > > One place to look at is perhaps: http://www.rseek.org/ > > which searches all the R-documentation and mailing-list archives. > > that might be a good starting point. > > cheers, > > Bernard > > > > -- > > Bernard Spies > > +27 (0) 84 580 5409 > > bfspies (at) gmail.com > > > > On 26 May 2011 10:30, Riaan van den Dool <[email protected]> wrote: > >> > >> Sounds interesting! > >> > >> Riaan > >> > >> On Wed, May 25, 2011 at 3:50 PM, Willem Ligtenberg > >> <[email protected]> wrote: > >>> > >>> Hi, > >>> > >>> I want to bring the PyOpenCL goodness to another programming languange > >>> (R). > >>> If I understand it correctly PyOpenCL use a small C++ layer before > >>> communicating with OpenCL. > >>> What I would like to do, is change the Python wrapping around this C++ > >>> layer into an R wrapping. > >>> Do you have any pointers on how best to proceed? > >>> > >>> Kind regards, > >>> > >>> Willem Ligtenberg > >>> > >>> _______________________________________________ > >>> PyOpenCL mailing list > >>> [email protected] > >>> http://lists.tiker.net/listinfo/pyopencl > >> > > > > > > > > > > > > > > _______________________________________________ > PyOpenCL mailing list > [email protected] > http://lists.tiker.net/listinfo/pyopencl > -- Ian Johnson http://enja.org
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
