I�m not particularly experienced with this but wrote a �proof-of-concept� skeleton of a package at https://github.com/mtmorgan/ocl . The basics are
* Import OpenCL in the DESCRIPTION file * Write OpenCL scripts in inst/ (dnorm implemented in OpenCL) * Use the helper function in R/ocl.R to source the code * Provide a user-friendly interface as in R/examples.R (dnorm_ocl) Martin From: R-package-devel <r-package-devel-boun...@r-project.org> on behalf of Quirin Stier <quirin_st...@gmx.de> Date: Tuesday, October 11, 2022 at 10:46 AM To: r-package-devel@r-project.org <r-package-devel@r-project.org> Subject: [R-pkg-devel] R package development using GPU based on R package OpenCL Dear members, I have difficulties packing my OpenCL functions together as a complete R package. I did not find any exemplary R package building upon the R OpenCL Package. Currently I can only run the OpenCL functions as was presented by the OpenCL examples of the OpenCL package itself. So, assuming I have working OpenCL files, how can I create the MakeVars (or whatever necessity needs to be done), in order to create a fully functional R package? Best regards, Quirin ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel [[alternative HTML version deleted]]
______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel