GPU support is only available on Matlab versions 2010b and later. GPUs are designed to work best with image processing, signal processing, and code involving arrays.
Questions tagged [matlab-gpu]
5 questions
2
votes
1 answer
Calculation on GPU leads to driver error "stopped responding"
I have this little nonsense script here which I am executing in MATLAB R2013b:
clear all;
n = 2000;
times = 50;
i = 0;
tCPU = tic;
disp 'CPU::'
A = rand(n, n);
B = rand(n, n);
disp '::Go'
for i = 0:times
CPU = A * B;
end
tCPU =…

Stefan Falk
- 23,898
- 50
- 191
- 378
1
vote
0 answers
Using MatConvNet with new and old GPU
I have two GPUs installed on my Windows 7 64-bit computer: an NVIDIA GeForce GTX 750 Ti and a GeForce GTX 570. The former has a compute capability of 5 and the latter a compute capability of 2.
For one of my projects, I would like to utilize…

Vivek Subramanian
- 1,174
- 2
- 17
- 31
1
vote
1 answer
MATLAB CUDA Kernel Object- Error using gather?
I have the following CUDAKernel object:
Which I invoke using:
kernel1 = parallel.gpu.CUDAKernel('kcc2.ptx', 'kcc2.cu');
kernel1.ThreadBlockSize = 256;
kernel1.GridSize = 4;
gpuTM = gpuArray(single(TM));
gpuLTM = gpuArray(single(LTM));
gpuLTMP =…

Jordan
- 305
- 3
- 13
0
votes
1 answer
matlab arrayfun on gpu with class methods
Consider the following simple class
classdef A < handle
properties
M;
end
methods
function obj= A(m)
obj.M=m;
end
function foo(obj)
Array = linspace(0,obj.M,100);
…

Michael Medvinsky
- 326
- 1
- 12
0
votes
1 answer
Is there a GPU implementation multiclass classification function in MATLAB?
I have a multiclass classification task, and I have tried to use 'trainSoftmaxLayer' in Matlab, but it's a CPU implementation version, and is slow. So I tried to read the documentation for a GPU option, like 'trainSoftmaxLayer('useGPU', 'yes')' in…

Kevin He
- 63
- 5