Réponse apportée
GTX-1080ti Shows 9 GB Memory Available
I answered this question to the best of my ability when it was first asked in <https://uk.mathworks.com/matlabcentral/answers/41...

presque 8 ans il y a | 1

Réponse apportée
why imresize() is slower with gpuArray?
It's hard to tell because your code is very confusing, but it looks to me like you are resizing 900 images one image at a time. ...

presque 8 ans il y a | 1

Réponse apportée
Parallelizing MATLAB code using many GPU cores
GPU cores do not work like CPU cores. They cannot run independent tasks. To use the GPU with MATLAB, <https://uk.mathworks.co...

presque 8 ans il y a | 1

| A accepté

Réponse apportée
Increase GPU Throughput During training
The problem with using a |ReadFcn| is that it prevents MATLAB from being able to do I/O in batch and in the background, because ...

presque 8 ans il y a | 0

Réponse apportée
What kind of toolboxes do I need to implement Deep neural network
For Deep Learning plus GPU you need: MATLAB, Parallel Computing Toolbox, Neural Network Toolbox (soon to be renamed Deep Learnin...

presque 8 ans il y a | 1

| A accepté

Réponse apportée
error when using multi-gpu option for trainingNetwork
You have a recurrent network. So you have a network with a SequenceInputLayer and at least one LSTM layer. For these networks, m...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
Matlab is able to utilize only a part of actual available VRAM.
The division of GPU memory into compute and graphics is dictated by the driver - it isn't something that a CUDA application has ...

environ 8 ans il y a | 0

Réponse apportée
How can I adapt arrayfun() to operate on vectors rather than scalars?
Look at <https://www.mathworks.com/help/distcomp/pagefun.html |pagefun|> for mixing in calls to vector operations with your ordi...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Deep Learning using GPU
The most likely explanation is a kernel timeout, see <https://uk.mathworks.com/matlabcentral/answers/410236-cuda-error-after-cal...

environ 8 ans il y a | 0

Réponse apportée
The computation result of imresize of Matlab R2017b is wrong?
It's not a problem with |imresize|, it's a problem with save/load and indexing. You can eliminate your problem by deleting |ss| ...

environ 8 ans il y a | 2

| A accepté

Réponse apportée
How can I use the GPU to parallelize computation of average pairwise distances?
See also <https://www.mathworks.com/matlabcentral/answers/347838-computing-the-distance-between-a-grid-of-points-and-n-points-wi...

environ 8 ans il y a | 0

Réponse apportée
GPU imdilate of 3D volume
No, this isn't possible unless you wish to write your own implementation. You are not the first to request this feature, it has ...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
Calculate lsqr of two arrays on GPU
The least squares solution to a system of linear equations of one variable is pretty simple to work out, so you shouldn't really...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
How can I use the GPU to parallelize computation of average pairwise distances?
You can do it with basic arithmetic but really you're just looking for the function <https://uk.mathworks.com/help/stats/pdist2....

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Cuda error after calculating mahalanobis distance for large dataset.
It looks like you are suffering from a kernel execution timeout due to a long-running kernel. The easiest way to fix this is to ...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
I am unable to convert my brain tumor detection code done in matlab to gpu coder. I want to perform GPU parallel processing of that code. Please help.
Read the documentation and try some things. Here's a place to start: <https://uk.mathworks.com/help/distcomp/gpu-computing-in-ma...

environ 8 ans il y a | 0

Réponse apportée
Debugging: finding all instances of gpuArray in large code base [or finding all instances of other function calls]
On Linux? Use |grep|. On Windows? Just use Windows Explorer and type gpuArray into the search bar in the parent folder. Or write...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Multiply each 3D gpuArray page column with each other
It's hard to be sure whether you are literally after what you wrote, or whether you have just articulated it wrong. If you liter...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
How can a create a vector directly on GPU, just like we can create a vector on CPU?
It's a little bit far-fetched to expect to be able to create an _arbitrary_ array directly on the GPU - after all, the only way ...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
Matlab Online with GPU
We're working on a GPU version of MATLAB online, but I don't know when it's expected. The hardware sharing is complicated.

environ 8 ans il y a | 3

| A accepté

Réponse apportée
Default floating point precision with mexcuda
No, the compiler never casts anything to float. There are options to use some fast math operations that are slightly less confor...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
GPU memory overhead dependent on fft dimension.
MATLAB uses cufft, so the behaviour is whatever its behaviour is. The implication of the batching API as described by the doc - ...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Failing to free GPU memory on cleared/replaced/gathered variables: 2017a
It's difficult to say exactly what is going on here, however I'm fairly sure that it is the cublas context that is occupying mem...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
What does this mean when I run Matlab in Ubuntu 16.04?
Try starting MATLAB without hardware rendering using the |softwareopengl| option, see if that fixes it: matlab -softwareope...

environ 8 ans il y a | 2

Réponse apportée
Help in next error: Undefined variable "net" or class "net.Layers". instruction: montage(mat2gray(gather(net.Layers(2).Weights)));
Well, you've called your network |net4clas23|, not |net|, so no variable of that name exists.

environ 8 ans il y a | 0

Réponse apportée
Advice on when to start writing custom CUDA
This particular problem is a good example of something that is solved better with a custom kernel, but many real problems aren't...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
Parallel computing toolbox...gpu choice
Compute Capability just tells you what generation of NVIDIA GPUs the device comes from, so its capability is related to its inst...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
X'SX were X is a column vector and S is a matrix.
I suppose what you mean is that |X| is d-by-N, not d-by-1? So it seems like what you want is SX = S * X; for i = 1:N ...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
SIFT features in GPU
Sorry about that. Your best bet is to use the <https://www.mathworks.com/discovery/matlab-opencv.html OpenCV interface> to lever...

environ 8 ans il y a | 0

Réponse apportée
Is it possible to use both CPU and GPU to train convolution neural network (CNN)?
Yes it is. Are you averse to reading documentation? If not, try: * Setting the <https://www.mathworks.com/help/nnet/ref/predi...

environ 8 ans il y a | 0

Charger plus