Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
GPU for m file Execution

Subject: GPU for m file Execution

From: Deepraj

Date: 25 Apr, 2013 16:25:09

Message: 1 of 3

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.

Subject: GPU for m file Execution

From: ade77

Date: 25 Apr, 2013 18:11:10

Message: 2 of 3

"Deepraj" wrote in message <klbld5$4to$1@newscl01ah.mathworks.com>...
> 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.

This information might help you:
https://developer.nvidia.com/what-cuda

Subject: GPU for m file Execution

From: Matt J

Date: 26 Apr, 2013 17:19:08

Message: 3 of 3

"Deepraj" wrote in message <klbld5$4to$1@newscl01ah.mathworks.com>...
> 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.
===============

You cannot do arbitrary operations on the GPU, but the gpuArray data type in the Parallel Computing Toolbox does let you do a certain variety of GPU operations.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us