Category: github

In order to get a more universal solution to my mathematica_cuda plugin, one that works on Windows as well as on Mac and Linux, I decided to use CMake, which comes with the excellent FindCUDA module together with a MathLink module which would offer the same functionality as the current mathematica_cuda plugin, plus more.

I looked on the web if someone else had already written such a module for MathLink, and in the end found Erik Franken who sent me a version he had modified from a version by Jan Woetzel and others:

By this time I had a version on github which I wrote up. Feel free to download it from here.

Recently Markus van Almsick sent me a more advanced version which I will integrate into my version soon. google earth . . Pitijobleare .

I have decided to push the initial Mathematica Cuda plug-in to a public repo on github. Feel free to download or fork it.

The basic structure of the project follows that of the Nvidia’s Cuda SDK, in that the individual projects are in their own folder inside the projects folder. Right now I have the scalarProd example from Nvidia. I have also included Nvidia’s cuda utilities cutils and extended the make system to handle Mathematica template files.

Currently I have tested it only on 64-bit Linux, but hopefully I will see if I can get it working under Mac and Windows. I also plan to add more documentation in the project’s wiki on github, and hopefully get some more useful examples implemented, perhaps FFT.