Answered
deeplearning Matlab is not compatible with graphics card
As explained in the documentation, both for CUDA support and for the enableForwardCompatibility function, "Enabling forward comp...

1 year ago | 0

Answered
The CUDA driver must recompile the GPU libraries
There isn't really much to say. This 'forward compatibility' is explained in the CUDA support by release documentation. As it sa...

1 year ago | 0

| accepted

Answered
gpuArray/imresize Input array has too many elements
There is a size limitation for gpuArray/imresize of <= 2^27 elements which is only documented in help text. >> help gpuArray/im...

1 year ago | 0

| accepted

Answered
GPU vs. CPU in training time
Use the DispatchInBackground training option to improve throughput when your data access and preprocessing is costly.

1 year ago | 0

| accepted

Answered
Background Data Dispatch with Custom Training Loop
Use a minibatchqueue with the DispatchInBackground option.

1 year ago | 0

| accepted

Answered
The function trainNetwork is slow during startup - what is the cause?
Your validation set is huge. I suspect that what's taking time is the computation of the first validation accuracy metric. If fi...

1 year ago | 0

| accepted

Answered
GPU error + Working with total XTrain data in custom training loop
The error is telling you you can't process all your data at once because you don't have enough GPU memory. You either have to us...

1 year ago | 1

Answered
Is there any work around the error "Array concatenation is not supported"?
Yeah, you can't do anything with arrays in GPU arrayfun, only scalars. You have some options: Reimplement with a loop instead o...

1 year ago | 0

Answered
Error using gpuArray Maximum variable size allowed on the device is exceeded.
The NVIDIA libraries that MATLAB uses to do GPU computation store array lengths as 32-bit integers and therefore MATLAB cannot u...

1 year ago | 1

Answered
I have problem with clear GPU memory
MATLAB does not clear all GPU memory unless all variables are released because allocating memory is a performance bottleneck. So...

1 year ago | 1

Answered
RTX 3080 recompiling issue in Matlab 2020a
Does MATLAB support NVIDIA Ampere cards for GPU computation? You should follow the advice on the GPU support by release page ca...

1 year ago | 0

Answered
How to execute several backslash operations in parallel on GPU?
Try using gpuArray/pagefun before you resort to code generation.

1 year ago | 0

Answered
Where does the file"mex_CUDA_win64.xml " exist in Matlab2020a?
The correct method for compiling GPU MEX functions for many years now has been to use the utility mexcuda, which does not requir...

2 years ago | 0

Answered
How do I substitute all the activation functions of a neural network?
It looks as though you've replaced every relu layer with multiple other layers. This will make your network deeper. The deeper t...

2 years ago | 0

Answered
Using mex with CUDA
Hi Jack. I expect the answer to this question is that you have installed a more recent version of the CUDA toolkit, specifically...

2 years ago | 0

Answered
How to run a custom function to gpu?
I guess the basic problem is that the gctest function doesn't support gpuArray data. You could try taking a copy of it and fixin...

2 years ago | 0

Answered
How do I take poisson draws with poissrnd() using GPU resources via arrayfun?
As you can see from the documentation, poissrnd is not a function that is support by the FUN argument of gpuArray/arrayfun. You ...

2 years ago | 0

Answered
Same gpu operation in loop but two speeds
MATLAB will do some optimisations when it sees you are doing the same thing repeatedly. In your case, the optimisation that appl...

2 years ago | 0

| accepted

Answered
Parallrl calculations for Deep learning Toolbox
Sorry about this not-very-good error, which should be fixed in the current release. What it means is that 'Shuffle', 'never' is ...

2 years ago | 1

Answered
Error using parpool (line 113)
This is a very unusual error and indicates a problem with your installation. I suspect your MATLAB path is mixed up with previou...

2 years ago | 2

Answered
CPU/GPU Architecture Recommendation
For Deep Learning the RTX 2080 is a good choice.

2 years ago | 0

Answered
Using external GPU with MatLab 2020a
There may be nothing you can do. Data transfer times to an external GPU are much higher. It might help to increase the MiniBatch...

2 years ago | 0

Answered
Arrayfun GPU in "Game of Life" works slower than CPU
Check out this Answer. The arrayfun version is rather dependent on good memory performance since the kernel is accessing global ...

2 years ago | 0

| accepted

Answered
Deep Learning - Distributed GPU Memory
No, there is nothing like what you are after, to distribute the weights of a fully connected layer across multiple GPUs. You cou...

2 years ago | 0

Answered
Multiple GPUs perform slower than single GPU to train a semantic segmentation network
On Windows, due to GPU communication issues on that platform, it is difficult to get any benefit from multi-GPU training. This w...

2 years ago | 0

| accepted

Answered
The utilization of GPU is low in deep learning
Try following some of the advice in the following MATLAB Answer: https://uk.mathworks.com/matlabcentral/answers/463367-gpu-utili...

2 years ago | 0

Answered
Assigning gpuArrays to different graphics cards
There is no way to do what you ask. Selecting a GPU is the only way to move data there, and selecting a GPU resets all GPU data....

2 years ago | 0

| accepted

Answered
GPU out of memory
In your example code you are using the default mini-batch size of 128. Reduce the MiniBatchSize training option until you stop g...

2 years ago | 2

Answered
incorrect memory copy when using property size validator
I was able to reproduce this in R2018b but not in R2019a or R2019b. It looks like property validators used to trigger a deep cop...

2 years ago | 0

| accepted

Answered
Solution of large sparse matrix systems using GPU MLDIVIDE
The general advice is that Sparse MLDIVIDE may be convenient, but it is 'usually' slower than use of an iterative solver with an...

2 years ago | 0

| accepted

Load more