Respondida
I would like to train a smallish network using cpu cores in parallel rather than gpu as they are slower.
setenv CUDA_VISIBLE_DEVICES -1 when you first start MATLAB, assuming you are running everything locally. However, as a general...

más de 1 año hace | 0

Respondida
Faster three dimensional higher order interpolation?
Thanks for the request, it will help us prioritise future work. In the meantime, it is possible to write your own interpolation ...

más de 1 año hace | 0

Respondida
How to solve "Unexpected error calling cuDNN: CUDNN_STATUS_EXECUTION_FAILED." error?
The Ada GPU architecture is not supported in R2018b. You need to upgrade MATLAB. You should have received a warning about this w...

más de 1 año hace | 0

| aceptada

Respondida
Will self-written exe application run on GPU on other PC?
Yes, if your other PC has a supported GPU your application will run on it. Isn't MATLAB great?!

más de 1 año hace | 0

| aceptada

Respondida
Error at linking stage using mexcuda
Relocatable device code needs to be linked by nvcc using -dlink before it can be linked to host code using the C linker, so you'...

más de 1 año hace | 0

| aceptada

Respondida
OCR returns slightly different results on different machines
This is expected for any highly optimized code like this. Even for two Intel machines, the core count will affect how operations...

más de 1 año hace | 1

Respondida
Will the MATLAB Answers community diminish/obsolete with the rise of AI-based chatbots?
You look like you are asking a question about how AI-assisted automation will change MATLAB Answers in the coming years and pote...

más de 1 año hace | 3

Respondida
The matlab mexw64 file generated by mexcuda cannot be executed in the standalone app generated by matlab('parallel.gpu.GPUDeviceManager.selected' cannot be detected))
MATLAB Compiler's dependency analyzer cannot detect your dependency on PCT. Either add the product manually or call something ex...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

| aceptada

Respondida
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, ...

más de 1 año hace | 2

| aceptada

Respondida
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...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

Respondida
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...

casi 2 años hace | 0

Respondida
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...

casi 2 años hace | 0

Respondida
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...

casi 2 años hace | 1

Respondida
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...

casi 2 años hace | 0

Respondida
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...

casi 2 años hace | 0

Respondida
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...

casi 2 años hace | 0

| aceptada

Respondida
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 ...

casi 2 años hace | 1

Respondida
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...

casi 2 años hace | 1

Respondida
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 ...

casi 2 años hace | 1

| aceptada

Respondida
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...

casi 2 años hace | 1

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

casi 2 años hace | 0

Respondida
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 ...

casi 2 años hace | 0

Respondida
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...

casi 2 años hace | 0

Respondida
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 ...

casi 2 años hace | 0

Respondida
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...

casi 2 años hace | 0

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

casi 2 años hace | 0

| aceptada

Respondida
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...

casi 2 años hace | 0

| aceptada

Respondida
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 ...

casi 2 años hace | 0

Cargar más