richeek.arya

OpenCL and Mex files

Discussion created by richeek.arya on May 22, 2011
Latest reply on May 25, 2011 by richeek.arya

Hi, 

I have a quick question regarding OpenCL and mex files. Mex files are type of files that are used in Matlab to interface your C/CPP code to Matlab. I know it is not a Matlab forum but I thought may be some of you might have already tried doing it so would be kind enough to share your experiences.

Suppose I write a gateway function to interface a cpp code that is using some OpenCL calls. Then would I be able to run the mex file without any problem given that Matlab part is not using OpenCL? In other words does gateway function work as a isolator between CPP world and Matlab world?

thanks,

newbie

Outcomes