OpenCL in MATLAB

OpenCL in MATLAB

 

A new OpenCL toolbox has been developed for MATLAB, MathWorks widely known math software. At the moment this project has only encapsulated buffers and kernels, which probably limits GPU usage of memory. For instance, they don’t mention usage of image objects.

It seems that they intend to override some matrix operations and perform them using the GPU but kernel programming will unavoidably have to be done using the OpenCL C99 code.

The CMSoft OpenCL tutorial covers the C99 programming with many examples in C# but it will surely be helpful if you intend to develop using MATLAB OpenCL or another language since the OpenCL code will essentially be the same.

More information about the MATLAB OpenCL toolbox is available here.

Leave a Reply

Your email address will not be published. Required fields are marked *