|
Hello Kasper,
I would start with the Linux download, build the MEX file on a Mac the
same as you would on a Linux configuration, and see how far you can get.
Looking at the Makefile for the Linux version, it appears to already
have support for building on 32-bit Mac (maci). There is a commented-out
line for pointing the MATLAB variable to R2007a, use that but change the
path to the version you are using (for example,
/Applications/MATLAB_R2009b.app).
If you are using 64-bit MATLAB on the Mac (maci64), adding support for
maci64 would be straightforward (copy/paste the maci section, use the
".maxmaci64" MEX extension, and make sure it's compiling and linking
with the 64-bit flag, "-arch x86_64"...).
You'll probably run into questions, but you can probably find or deduce
the answers on your own. Try contacting the authors for more help, or
posting here with specific questions. Good luck, and report back if you
are successful.
- Brian
Kasper Marstal wrote:
> Hello,
>
> I'm trying to integrate CUDA with Matlab on a Mac Pro. I want to install the plugin but when I go to http://developer.nvidia.com/object/matlab_cuda.html there is only linux and windows version. I can't find any info on what other mac users do to install plugin or if it is even possible to integrate CUDA natively with the MEX interface on OS X.
>
> Have you any experience with this issue?
>
> Thanks
|