Answered
Half precision using GPU
As pointed out, gpuArray does not support half. The main reason is that half is an emulated type only meaningful for deployment ...

12 months ago | 1

| accepted

Answered
How to uncompress data faster than using for loop
No, |arrayfun| and |cellfun| are just convenient ways of writing loops, they don't have any special magic and often cause certai...

12 months ago | 1

Answered
how can i use fitrgp() function for gpuarray?
|fitrgp| does not support gpuArray inputs, sorry.

12 months ago | 0

Answered
Trouble using one of my GPUs
Hi Rohan. You may have to consult the documentation for your toolkit. The Titan RTX is a Turing card and may post-date the most ...

12 months ago | 0

Answered
Error using gpuArray/norm Failed to initialize GPU cuSOLVER library.
|cuSolver| is an NVIDIA library that is included with your MATLAB installation. It makes no difference what versions of the CUDA...

12 months ago | 0

Answered
mexcuda how to declare a matrix with size N given in input
Hi Charlotte. If you just want to pass an ordinary scalar value to a mex function then use the ordinary Mex API rather than the ...

12 months ago | 0

Answered
How can we use Nadam optimizer in place of sgdm in training deep learning networks
You cannot do this using trainNetwork. You need to use a dlnetwork with a <https://uk.mathworks.com/help/deeplearning/ug/train-n...

12 months ago | 0

Answered
brain tumor code errors
Looks like your version of MATLAB predates the |OutputNetwork| training option, which was introduced in R2021b.

12 months ago | 0

| accepted

Answered
Deep learning with partitionable datastores on a cluster
This error message is incorrect. It should say that your datastore is not PartionableByIndex. This was fixed in R2022a. As long...

1 year ago | 0

| accepted

Answered
i need to utilize fully of my GPUs during network training!
It's hard to be sure from the info you provide but it looks like the filesystem is your bottleneck. If you cannot load the next ...

1 year ago | 0

Answered
Overcoming VRAM limitations on Nvidia A100
Just increase the MiniBatchSize and it'll use more memory.

1 year ago | 2

| accepted

Answered
CUDA_ERROR_CONTEXT_IS_DESTROYED when calling gpuArray after simulations on GPU
Probably MCXLab is doing something bad to your GPU. Try adding |wait(gpuDevice)| after your MCXLab code.

1 year ago | 0

Answered
Error when processing on HPC: Unable to allocate space for the FFT calculation. This might be due to insufficient memory on the GPU.
At a guess you are trying to share one GPU between multiple workers on a pool. Depending on how work is scheduled one or two wor...

1 year ago | 0

| accepted

Answered
nVidia GPU image processing suppo
https://www.google.com/search?q=MATLAB+gpu+image+processing&rlz=1C1GCEB_enGB1009GB1009&oq=MATLAB+gpu+image+processing&aqs=chrome...

1 year ago | 0

Answered
How can I use GPU in regression learner app?
You cannot use the GPU through the classification and regression learner apps yet.This documentation page lists the Regression f...

1 year ago | 0

Answered
how to run a function on GPU cores
It's probably best to read the extensive documentation available online that should give you a complete picture of how to levera...

1 year ago | 0

Answered
Custom Layer Learnable Parameters Initialization.
This is now supported via the optional method initialize: https://www-integ2.mathworks.com/help/deeplearning/ug/define-custom-de...

1 year ago | 1

| accepted

Answered
Disable the gpu.
As soon as you start MATLAB type setenv CUDA_VISIBLE_DEVICES -1 MATLAB will no longer recognise any GPU for computation.

1 year ago | 2

Answered
Algorithm to extract linearly dependent columns in a large scale [-1,1] matrix ( 10^5 by 10^6)
You might consider using distributed arrays on an HPC cluster.

1 year ago | 0

Answered
Accuracy problems using mldivide on GPU
The answer is not less accurate, it is just as inaccurate. What you have are 60001 massively overdetermined systems generated by...

1 year ago | 1

Answered
When training a neural network does every training image need to have every pixel class?
The answer to question 1 is no. The answer to question 3 is that probably 126 training images is not sufficient, you might need ...

1 year ago | 0

Answered
How to use Sum and Dot function in GPU computation with arrayfun?
You cannot perform vector operations in GPU arrayfun. The a and b arguments to your function are not the whole array, they are t...

1 year ago | 0

| accepted

Answered
Double precision in deep learning
This is possible with a |dlnetwork| but it is (currently) more of a workaround than anything else. Once your dlnetwork is ready ...

1 year ago | 0

| accepted

Answered
When I want to train Fully convolutional neural network, I have the following error
I suspect your best bet here is to upgrade MATLAB to a more recent version. Many of these bugs will be fixed with newer versions...

1 year ago | 0

Answered
Error saying ''Dot Indexing is not supported for variables of this type".
This could be a bug, especially if you didn't modify the example code. What is the data you passed to |adamupdate|?

1 year ago | 0

Answered
YoloV4 - Out of memory
Generally the best solution here is to reduce the size of the input data. Still, these object detector networks do seem to be...

1 year ago | 1

| accepted

Answered
Why is my GPU code faster with the profiler on in RTX GPUs?
This is due to an optimization which is not performing ideally under memory pressure. If you reduce the size of your input you'l...

1 year ago | 0

| accepted

Answered
Conflicting behaviour of arrayfun() with gpu: example that works and example of error
The function normcdf isn't supported by GPU arrayfun because it accepts varargin. For a list of supported functions see the docu...

1 year ago | 0

| accepted

Answered
How to initialize a string variable, and pass it to the matlab function using GPU coder
MATLAB and Simulink code generation do not currently support string. Edit: Sorry, my bad, it does support scalar strings, but n...

1 year ago | 0

| accepted

Load more