Community Profile

photo

Joss Knight


MathWorks

360 total contributions since 2013

Although I cannot be contacted directly, if you would like to ask me a question all you have to do is mention "GPU" somewhere in your MATLAB Answers question.

Joss Knight's Badges

  • 36 Month Streak
  • Knowledgeable Level 4
  • Pro
  • Revival Level 2
  • First Answer

View details...

Contributions in
View by

Answered
hardware requierments for MATLAB
Partial answer GPU Computing. You can't have a MATLAB without CPU Computing so obviously both is better. No Mostly using the ...

10 Tage ago | 1

Answered
Which Visual Studio 2019 package should I install to work with CUDA?
To accelerate your MATLAB code with an NVIDIA GPU, you do not need to install a C++ Compiler.

10 Tage ago | 0

Answered
Why would the file size of a deep learning gradient become much bigger after saving as a .mat file?
The difference is that whos is unable to account for the fact that the data is all stored on the GPU, and is only showing CPU me...

11 Tage ago | 0

| accepted

Answered
Training a Variational Autoencoder (VAE) on sine waves
It looks like your input data size is wrong. Your formatting says that the 4th dimension is the batch dimension, but actually it...

29 Tage ago | 0

| accepted

Answered
Is lhsdesign (latin hypercube sampling) supported by gpuArray?
It is not supported. You can tell whether or not a function supports gpuArray, more reliably than from the list of gpuArray meth...

etwa ein Monat ago | 1

| accepted

Answered
DOES GEFORCE GTX1080 GPU WORKS WELL FOR DEEP LEARNING TRAINING??
Yes.

etwa ein Monat ago | 1

| accepted

Answered
Feed data into Neural Networks file-by-file
Datastores are designed for precisely this purpose. It may be that you're after an imageDatastore processed by a transform.

etwa ein Monat ago | 0

Answered
Gather cell array from GPU to CPU
A_cpu = cellfun(@gather, A_gpu, 'UniformOutput', false);

etwa ein Monat ago | 1

| accepted

Answered
Error in matlab included deep learning example
There is a bug in this Example which will be rectified. Thanks for reporting. To workaround, initialize the loss variable in the...

etwa 2 Monate ago | 2

| accepted

Answered
movsum slower than conv2 in GPU
One might theorize, perhaps, that movsum literally uses the same kernels as conv2, but first has to construct the filter of ones...

etwa 2 Monate ago | 2

Answered
Does MATLAB require dedicated graphic card
If you want hardware-rendered plots and 3-D visualizations, you need a GPU of some kind. Without it, these things will be a bit ...

3 Monate ago | 0

Answered
Deep learning with a GPU that supports fp16
You can take advantage of FP16 when generating code for prediction on a deep neural network. Follow the pattern of the Deep Lear...

4 Monate ago | 1

| accepted

Answered
Select a GPU to be used by a function running in parallel(parfeval)
I'd have to know what kind of postprocessing you're doing - please post some code. On the face of it, the answer is simply to us...

4 Monate ago | 0

| accepted

Answered
'radix_sort: failed to get memory buffer' when executing accumarray on gpuArrays of certain size
There is an issue in an NVIDIA library that is not functioning correctly when memory is limited. This is fixed in CUDA 10 / MATL...

4 Monate ago | 0

Answered
Why does gpuArray() error out?
Make sure you have read this: https://uk.mathworks.com/matlabcentral/answers/442324-can-i-use-matlab-with-an-nvidia-gpu-on-macos...

4 Monate ago | 1

Answered
GPU recommendation for Deep Learning and AI
The Tesla V100 is a passively cooled device only suitable for servers. Is that available to you? The Quadro card you indicate is...

4 Monate ago | 0

Answered
.CU Files for MATLAB
Hi Oli. You don't run nvcc in MATLAB, since it isn't a MATLAB feature. You run it at a Windows Command Prompt (or Powershell). U...

4 Monate ago | 0

Answered
Error using nnet.internal.cnngpu.convolveBiasReluForward2D
If you want to go back to using your CPU, add the 'ExecutionEnvironment' 'cpu' to your call to semanticseg. C = semanticseg(Img...

4 Monate ago | 0

Answered
Fast 2D distance calculation
pdist2 is the usual way to do this, if you have Statistics and Machine Learning Toolbox.

4 Monate ago | 0

Answered
Unexpected speed decrease of 2D Fourier Transform on GPU when iFFTed
I modified your code inserting wait(gpuDevice) before each tic and toc and got a much more sensible graph: The GPU runs async...

6 Monate ago | 0

| accepted

Answered
How can I accelerate deep learning training using GPU?
Your mini-batch size is far too small. You're not going to get any benefit of GPU over CPU with that little GPU utilisation. Inc...

6 Monate ago | 1

Answered
GPU utilization is not 100%.
Your question is very hard to answer in it's current form. You want to know why GPU utilisation is not 100%? The answer is, bec...

7 Monate ago | 1

Answered
Why is arrayfun for GPU slower than normal operations
You are misunderstanding the use of arrayfun for gpuArray. Combine all those operations into a single function. temp00 = arrayf...

7 Monate ago | 4

| accepted

Answered
GPU parallel computing error with Quadro RTX 5000
I'm amazed this works at all, frankly, since 2012 is about 5 generations of GPU architecture ago. Anyway, there are known issues...

8 Monate ago | 0

| accepted

Answered
Load of Transfer Learning on GPU
Your problem is this line: imds.ReadFcn = @(loc)imresize(imread(loc),inputSize); You should remove it and instead use an augme...

10 Monate ago | 0

Answered
Can I use parallel computing to train a DNN?
No, you can't use parallel training for a sequence network, sorry.

10 Monate ago | 0

| accepted

Answered
Odd error comes during training deep learning model on GPU
Nearly always this error is a kernel timeout. Use Windows regedit and follow the instructions on this page to disable TDR by set...

10 Monate ago | 0

Answered
Creating a convolutional neural network that outputs an image.
You have a DAGNetwork which means you cannot pass a layer index into activations, you have to pass a name: res = activations(ne...

10 Monate ago | 1

| accepted

Answered
How to control which GPUs and CPUs get which tasks during multiple calls to trainNetwork?
The computation on the GPU is so much faster than on the CPU for a typical Deep Learning example that there are only disadvantag...

11 Monate ago | 0

| accepted

Answered
Why system need to wait gpudevice complete?
The fundamental problem is that GPU execution is asynchronous so the point where you think all the time is being spent isn't act...

11 Monate ago | 0

| accepted

Load more