Réponse apportée
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
If you click on the line number in the editor next to where you create your function layer, you can put a breakpoint at the entr...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Using a "CUDAKernel" type object within a parfor loop
A CUDAKernel object cannot be serialized, as you've found, so you will need to construct it separately on each worker. However, ...

plus d'un an il y a | 2

| A accepté

Réponse apportée
Performance drop on mobile RTX4080
The 4080 is a good 10x slower than the V100 in double precision so this doesn't surprise me - it is designed for workstation gra...

plus d'un an il y a | 0

Réponse apportée
Using experiment manager on single GPU
It does depend on the balance of CPU and GPU work in your experiment, but as a general rule parallel execution will gain you not...

plus d'un an il y a | 0

Réponse apportée
Memory issue with texture in mexCUDA compiled code
It looks like the syntax for your function |mxArrayToTexture_3D_float4| is incorrect. You are passing the pointer |cuArray| by v...

plus d'un an il y a | 0

Réponse apportée
host compiler failed but others all passed with 'coder.checkGpuInstall('full')'
MSVC 2022 was not supported by the NVIDIA CUDA compiler in R2022b. You either need to install MSVC 2019 (or 2017) or upgrade MAT...

plus d'un an il y a | 0

Réponse apportée
cannot set gpu option in MBPO for catpole example
I do not see any |UseDevice| property in the <https://uk.mathworks.com/help/reinforcement-learning/ref/rl.option.rloptimizeropti...

plus d'un an il y a | 1

Réponse apportée
How to perform Eigenvalue Decomposition e.g, eig() on multiple GPUs?
eigendecomposition is a highly serial algorithm so that's why simple multi-process solutions aren't easy to find and why the GPU...

plus d'un an il y a | 0

Réponse apportée
Problem: Image segmentation of forest area using CNN and MATLAB's BLOCKPROC function.
In the documentation for semanticseg it says that the output is a categorical array. Converting to uint8 would normally work, b...

plus d'un an il y a | 0

Réponse apportée
Summing array elements seems to be slow on GPU
These are my results that I got on my (somewhat old) GeForce GTX 1080 Ti: CPU time: 16.1288 GPU time: 0.96266 If I change the...

plus d'un an il y a | 0

| A accepté

Réponse apportée
Summing array elements seems to be slow on GPU
Why are you recomputing H and HU inside the loop? They do not change. If you remove the sum, because the results are never used ...

plus d'un an il y a | 1

Réponse apportée
Examples of GPU do not work
This isn't a demo it's a blog from 11 years ago, and unfortunately it's using syntax that was removed from MATLAB 9 years ago. I...

plus d'un an il y a | 1

Réponse apportée
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 ...

plus d'un an il y a | 1

| A accepté

Réponse apportée
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...

plus d'un an il y a | 1

Réponse apportée
how can i use fitrgp() function for gpuarray?
|fitrgp| does not support gpuArray inputs, sorry.

plus d'un an il y a | 0

Réponse apportée
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 ...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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 ...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
brain tumor code errors
Looks like your version of MATLAB predates the |OutputNetwork| training option, which was introduced in R2021b.

plus d'un an il y a | 0

| A accepté

Réponse apportée
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...

plus d'un an il y a | 0

| A accepté

Réponse apportée
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 ...

plus d'un an il y a | 0

Réponse apportée
Overcoming VRAM limitations on Nvidia A100
Just increase the MiniBatchSize and it'll use more memory.

plus d'un an il y a | 2

| A accepté

Réponse apportée
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.

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

| A accepté

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 1

| A accepté

Charger plus