Beantwortet
Frame per second computingfor GPU code generation
This is a smoothing filter to eliminate noise, to ensure it gives a good result from the first frame you could set it to |1/newt...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Error Message: Brace indexing is not supported for variables of this type. during TrainNetwork
You can definitely use your GPU on multiple MATLAB workers in an SPMD block. You should show your code, looks like you have a sy...

mehr als 4 Jahre vor | 0

Beantwortet
Doesn't the GPU Coder support singleton expansion of ARRAYFUN?
Support for dimension expansion is actually restricted to the GPU version of arrayfun, and GPU Coder supports the CPU version's ...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
From CPU code to GPU
You need to vectorize your code. The GPU is not intended for performing this kind of looping series of operations on scalar vari...

mehr als 4 Jahre vor | 0

Beantwortet
I have a problem about " out of memory" for running VGG16 for image classification
It doesn't look as though you're setting the MiniBatchSize on the call to activations which means it's using the default value o...

mehr als 4 Jahre vor | 0

Beantwortet
Error using gpuArray/subsasgn An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_LAUNCH_FAILED
What version of MATLAB are you using, what GPU and what platform? This sounds like a problem seen before with workstation 'Slee...

mehr als 4 Jahre vor | 0

Beantwortet
predict fucntion in deep learning toolbox does not use gpu
That is the documentation for DAGNetwork, not dlnetwork. dlnetwork does not have an ExecutionEnvironment, it chooses its environ...

mehr als 4 Jahre vor | 0

Beantwortet
What algorithm does matlab use when solving linear system A\b on GPU?
The same as for the CPU, MATLAB uses LU with pivoting for general square matrices and QR for general rectangular matrices. Perfo...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
How to use lsqr with GPU?
solution = lsqr(@afun,gpuArray(b)); Or alternatively, move the data to the GPU inside your afun operation. The problem is, usin...

mehr als 4 Jahre vor | 0

Beantwortet
Compatibility Matlab & GPU coder Compute Capability 8.6 RTX 3070
Regarding the gpuBench results: no, MATLAB is definitely not only using half the cores! What you are seeing is the raw performan...

fast 5 Jahre vor | 0

Beantwortet
How much can a graphics card make a difference in neural networks?
Yes, it could make things run 10x faster maybe.

fast 5 Jahre vor | 0

| akzeptiert

Beantwortet
Can MATLAB ResNet50 be run on Google Colab Pro?
I'm not sure how in-guidelines it is to be asking about running Octave as a substitute for MATLAB on this forum! I'm pretty sure...

fast 5 Jahre vor | 1

Beantwortet
BiCGStab is slower on R2021a using GPUs
There is a MATLAB bug report on this known issue: https://www.mathworks.com/support/bugreports/details/2438221 You should make...

fast 5 Jahre vor | 0

Beantwortet
Optimization of loops with deep learning functions
dlconv is designed to work in batch with multiple input channels, multiple filters, and multiple input observations in a single ...

fast 5 Jahre vor | 0

| akzeptiert

Beantwortet
Is R2021a configured to automatically use Apple M1 chip for GPU and Neural Engine?
No. MATLAB only supports NVIDIA GPUs for computation.

fast 5 Jahre vor | 1

| akzeptiert

Beantwortet
Why is pagemtimes slower on GPU than a CPU?
This might be simply because you are running double-precision math on a device designed for single precision operations. gpuBenc...

fast 5 Jahre vor | 0

Beantwortet
Problems in defining a custom Neural network layer
Your custom layer doesn't work for input sequences, and it needs to. So the particular error that is happening (which you can se...

fast 5 Jahre vor | 0

Beantwortet
Cellarray in a dlarray
dlCell = cellfun(@dlarray, myCell, 'UniformOutput', false);

etwa 5 Jahre vor | 0

Beantwortet
MATLAB : find a way with GPU NVIDIA to inverse quickly a large matrix of symbolic variables
Sorry, but Symbolic Math in MATLAB does not have GPU support.

etwa 5 Jahre vor | 1

Beantwortet
Which version of MATLAB will provide functional (i.e. working) GUI interactions?
You made a pre-emptive request that any response not be evasive and I wanted to make an attempt to answer your original question...

etwa 5 Jahre vor | 1

Beantwortet
NVIDIA QUADRO CUDA® Toolkit Version
MATLAB R2021a supports all NVIDIA GPUs as of this date, so feel free to get any card you want! The fastest Quadro I know of righ...

etwa 5 Jahre vor | 0

| akzeptiert

Beantwortet
Parallel Computing Toolbox (parfor slower than for, GPU slower than CPU)
1) CPU/parfor: How can I measure the time transfer when doing parfor (since parfor is slower than for when calling to a part of ...

etwa 5 Jahre vor | 0

Beantwortet
GPU Coder vs. ONNXRuntime, is there a difference in inference speed?
You can compile your network for TensorRT using GPU Coder if that's your intended target, no need to go through ONNX. I don't b...

etwa 5 Jahre vor | 0

Beantwortet
Why is my code running slower on the GPU?
Increasing the batch size alone cannot improve convergence in a simple MLP, you need to match it with an increase to the learnin...

etwa 5 Jahre vor | 0

| akzeptiert

Beantwortet
Can I tell Matlab not to use contiguous memory?
You might want to ask yourself why you need so many variables in your workspace at once and whether you couldn't make better use...

etwa 5 Jahre vor | 2

Beantwortet
How to plot heatmap using gpuArray?
Sorry, scatteredInterpolant doesn't support gpuArray.

etwa 5 Jahre vor | 0

Beantwortet
Can I hold 2 batches of dlnetwork gradients and update network parameters in 1 operation?
Yes, absolutely, just sum the gradients until your batch size is the size you want, then update the model. The principle is exac...

etwa 5 Jahre vor | 0

| akzeptiert

Beantwortet
Unexpected error calling cuDNN: CUDNN_STATUS_BAD_PARAM.
After some investigation (see thread below), this problem seems to be limited to RTX 3080 and 3070 and Linux. It can be worked a...

etwa 5 Jahre vor | 4

| akzeptiert

Beantwortet
Image being labelled something else than in database
You have called classify using the variable net. But the network you trained is called netTransfer. %Train the network that con...

etwa 5 Jahre vor | 1

| akzeptiert

Beantwortet
How to print in cuda kernel when writing mex files
For convenience, printf is redirected by mex.h so that output will appear in the command window. You can use printf, but you sho...

etwa 5 Jahre vor | 1

| akzeptiert

Mehr laden