GPU for Simulink Execution?

Can GPU be used instead of CPU to execute m file programs? I have successfully used Parallel Toolbox and executed codes using two different 'cores' in my PC. Was wandering whether the GPU can be utilized for the same. My code demands solving of Optimization Control Problem.

Answers (1)

Edric Ellis
Edric Ellis on 29 Apr 2013

0 votes

You cannot run arbitrary MATLAB code on the GPU, only those things supported by the gpuArray. See the doc for more details.

Categories

Asked:

on 25 Apr 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!