Answered
Appropriate GPU card for FEM Simulation
For double precision computation you should use one of NVIDIA's Tesla series of cards intended for high performance compute. The...

9 years ago | 1

| accepted

Answered
Which version of Visual Studio is fully supported by Matlab with Cuda Coding?
Visual Studio 2012 and 2013 are supported in MATLAB R2016a and R2016b. These are the compilers that are supported by the CUDA co...

9 years ago | 0

| accepted

Answered
CUDA 8.0, Pascal, in Ubuntu
It's not because of the toolkit you have installed, it's because you're using a Pascal card, which isn't supported by CUDA 7.5. ...

9 years ago | 1

Answered
error LNK2019: unresolved external symbol when trying to MEX a C++ file containing CUDA
|mex| on its own does not automatically link in the CUDA libraries, so you will have to do that manually using |-lcublas| or sim...

9 years ago | 0

Answered
Many function evaluation with GPU
The GPU can be used to run the same function simultaneously on a lot of data. If you wish to run different functions simultaneou...

9 years ago | 0

| accepted

Answered
Compiling CUDA files with mexcuda - why wont Matlab accept my compiler?!
Hello Petter, CUDA 8.0 was only released last week! |mexcuda| doesn't yet support it, and consequently does not yet support V...

9 years ago | 0

| accepted

Answered
error in working with SVD using GPUArray: GPU failed with CUDA error status: out of memory.
Your GPU doesn't have enough memory for this calculation. You need to reduce the size of your problem, do some algebra to divide...

9 years ago | 0

| accepted

Answered
Issues with cnngpu.dll in NN toolbox
This is the unfortunate error message you get when you do not have Parallel Computing Toolbox and therefore cannot use the ConvN...

9 years ago | 0

Answered
CUDA_ERROR_ILLEGAL_ADDRESS
Both these issues stem from the fact that Pascal architecture cards are not fully supported by the current CUDA toolkit. This me...

9 years ago | 0

| accepted

Answered
pagefun makes an error
The corrected code is ans = sqrt(sum(b.*b, 1));

9 years ago | 1

Answered
The trainNetwork does not work with Pascal GPU. What's the next step?
We have asked for a compatible version of cuDNN from NVIDIA with a backported fix. If they can provide that then we will provide...

9 years ago | 4

| accepted

Answered
Parallel matrix operations on GPU using arrayfun: why is it slower than looping, and/or is there a better method for coding this?
|arrayfun| IS just a loop, unless the inputs are |gpuArrays|. Your input isn't a |gpuArray|, because you've passed all your |gpu...

9 years ago | 1

| accepted

Answered
The training accuracy of "trainNetwork" decreases a lot when I used another computer
_NVIDIA_ doesn't support the latest NVIDIA GPU: <https://www.mathworks.com/support/bugreports/1439741> Sorry :-(

9 years ago | 1

| accepted

Answered
How do I estimate the memory usage of a calculation on the GPU?
Hi. |mldivide| is a very complicated calculation, so it's using a considerable amount of working memory. The code is complicated...

9 years ago | 0

| accepted

Answered
[bug?]DeepLearningImageClassificationExample not getting the expected classification accuracy
Do you have a new Pascal GPU like the GeForce GTX 1080? If so, this is your issue: <https://www.mathworks.com/support/bugrepo...

9 years ago | 0

| accepted

Answered
Can I use gpuArrays inside spmd blocks
Have you tried? ;-) Yes, you can and it is advised. But if you only have one GPU and it's doing all the computation, you may not...

9 years ago | 0

Answered
How I can solve this (error using gpuArray/gather occured during CUDA execution.TheCUDA error was:CUDA_ERROR_UNKNOWN).
It looks like you might be running out of GPU memory but it's not being reported properly. This sort of thing can happen on mobi...

9 years ago | 0

Answered
MATLAB CUDA 8.0 compatibility
CUDA 8.0 hasn't been released yet, so your question is really one for NVIDIA! Past history says that a version of MATLAB will su...

9 years ago | 1

Answered
Help with efficient collection of sub-matrices on GPU
You need to vectorize your indexing, then it will be efficient on the GPU. [offsetX, offsetY] = meshgrid(1:(2*halfPatch+1))...

9 years ago | 0

Answered
Is it Possible to create a DLL from a .m-file containing GPU-Code (R2015a)
The answer is no, sorry. See <http://www.mathworks.com/matlabcentral/answers/290084-does-the-matlab-coder-support-gpuarray>.

10 years ago | 0

Answered
cuda programming compiling and running the code in a remote machine
Do you mean a MEX function? If so you can compile your function on your laptop using |mex| <http://www.mathworks.com/help/releas...

10 years ago | 0

Answered
Does the Matlab Coder support gpuArray?
No, sorry. Our GPU code is highly optimized for the devices we support and there isn't yet any such thing as a language that gen...

10 years ago | 1

Answered
I need to insert multiple 32x32 arrays into 1024x1024 array at predetermined random locations. How to do this efficiently?
Use |accumarray| (and |randi|): N = 1024; Nx = randi([1 (N-32)], 1e5, 1); Ny = randi([1 (N-32)], 1e5, 1); linIndSt...

10 years ago | 1

| accepted

Answered
How to use arrayfun with a function that has different dimensions inputs
You need an |@| symbol in front of |GradientDescentLinear| to pass it as a function handle. At the moment it's trying to invoke ...

10 years ago | 0

Answered
Poor performance in mex-files created using mexcuda
I implemented your code and got the same results as you. Then I added |gpu = gpuDevice| at the top and |wait(gpu)| before each c...

10 years ago | 0

Answered
Preconditioning algorithm on GPU for solution of sparse matrices
MATLAB's preconditioning for sparse iterative solvers on the GPU is currently implemented using ILU and sparse triangular solves...

10 years ago | 2

| accepted

Answered
Limited GPU capabilities with 2 graphic cards on a laptop
For Windows, follow the instructions on <https://msdn.microsoft.com/en-us/library/windows/hardware/ff569918(v=vs.85).aspx changi...

10 years ago | 0

Answered
ConvNN train in CPU mode
You cannot train CNNs built using Neural Network Toolbox using only the CPU. You may want to look at <http://www.vlfeat.org/matc...

10 years ago | 1

| accepted

Answered
strange running time behavior when calculating on the gpu (CUDA)
The problem is asynchronous execution - you're missing a |wait(gpuDevice)|. I got these timings: tgpu = 0.0204 0....

10 years ago | 1

Answered
Matlab GPU processing: Nvidia Quadro k2200 vs Geforce GTX 970
I cannot speak from experience. The Quadro series are intended for high-end visualisation, and GeForce for high speed graphics (...

10 years ago | 0

| accepted

Load more