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

Answered
Support for HIP and/or OpenCL GPU acceleration
MathWorks regularly reviews its policies on GPU support. Where there is a market, a robust, stable, performance portable languag...

11 Monate ago | 0

Answered
How to generate mex for openCV's 'imdecode' for CPU and GPU?
You can just download and use OpenCV yourself, and link in whatever libraries you need on the compile line. This blog post gives...

11 Monate ago | 0

Answered
Does MATLAB 2018b Support NVIDIA GeForce 2080 Ti RTX For Creating/Training/Implementing Deep Learning Neural Networks, And, If So, Then Which Version Of CUDA Should I Use?
Yes, you can. Use the following workaround to avoid annoying warnings and errors: warning off parallel:gpu:device:DeviceLibsNee...

11 Monate ago | 0

Answered
Parallel Computing in Neural Networks is not using all the workers in 2018b?
I believe this is the designed behaviour. If multiple workers were to share the same GPU, you would get a performance reduction,...

11 Monate ago | 0

Answered
GPU and CPU code: How to do?
This is exactly why MATLAB's GPU support is so awesome! You should only need to insert your 'shim' for gpu data, as OCDER descri...

11 Monate ago | 2

Answered
Calling CUDA mex functions from functions called via arrayfun
GPU arrayfun supports a restricted set of element-wise operations that it knows how to translate into CUDA device IR. It doesn't...

11 Monate ago | 0

| accepted

Answered
Declare gpuArray while executing on gpu
GPU arrayfun functions can only do scalar operations. You can declare new scalar variables but you can't create new arrays.

11 Monate ago | 0

Answered
How can I recompile the GPU libraries ?
This is a known issue with CUDA 9.1 and the new Turing generation of GPUs. You don't need to do anything except ignore the initi...

12 Monate ago | 3

| accepted

Answered
mexcuda not finding CUDA 10.0 even after I specify it via setenv('MW​_NVCC_PATH​',...)
As it says there in the error message, you need CUDA 9.1, not 10.

12 Monate ago | 0

Answered
Any GPU implementation of k-nearest neighbor search?
knnsearch is supported on the GPU, so just use it!

etwa ein Jahr ago | 0

Answered
GPU arrayfun is so slow, what is going on?
You haven't called GPU arrayfun here, you've called CPU arrayfun and in the arrayfun function you are doing stuff on the GPU. Th...

etwa ein Jahr ago | 1

Answered
Can I process 'fit' with a GPU?
We plan to accelerate the rate at which we provide improved coverage for gpuArray support in MATLAB Toolboxes, including Stats a...

etwa ein Jahr ago | 1

Answered
Can I process 'fit' with a GPU?
No, there isn't, but other options may be adaptable to your problem. https://uk.mathworks.com/matlabcentral/answers/431697-make...

etwa ein Jahr ago | 1

| accepted

Answered
how can I output different array size than input by GPU arrayfun?
You can't output a variable sized output from GPU arrayfun, which would require atomic operations. You're going to have to compu...

etwa ein Jahr ago | 0

| accepted

Answered
How can I fix the CUDNN errors when I'm running train with RTX 2080?
Regarding issues with memory, the Titan XP has 12GB of memory while the RTX 2080 has only 8GB. You'll need to reduce your MiniBa...

etwa ein Jahr ago | 0

Answered
How can I fix the CUDNN errors when I'm running train with RTX 2080?
This a known issue. Before you start anything else run try nnet.internal.cnngpu.reluForward(1); catch ME end That shoul...

etwa ein Jahr ago | 5

| accepted

Answered
Reduction variables on the GPU II and arrayfun: cannot assign to parent function variable?
No, you can only read from uplevel variables, and then only one element at a time. You cannot write to them. That is not the int...

etwa ein Jahr ago | 0

| accepted

Answered
Using reduction variables on the GPU: arrayfun or other options
I suppose it depends on what f is, is it a scalar operation for each element of x? If so you can move your loop over I inside yo...

etwa ein Jahr ago | 0

| accepted

Answered
MATLAB & Cuda 10
It works, although it will erroneously warn that JIT compilation is required (it isn't). Also, there is a known bug with Deep Le...

etwa ein Jahr ago | 1

Answered
Sensible difference between computation on GPU single type variable and CPU single type
Jan's answer is correct of course; but perhaps the succinct point is to ask the question, which answer is right? You've been ass...

etwa ein Jahr ago | 1

Answered
Make curve fitting faster
It does rather depend on what you're doing. The functions polyfit and interp1 work with gpuArray inputs.

etwa ein Jahr ago | 0

Answered
How to reassign values for sparse GPU arrays?
You can use FIND to retrieve the nonzeros and their row and column indices. Then replace the values you want and construct a new...

etwa ein Jahr ago | 1

| accepted

Answered
(Temporary) Memory requirements of conv2/convn and fft2/fftn computations in GPU and CPU computing
FFT requires a workspace size dependent on the radix of the signal, and it can be pretty huge. A rule of thumb says you'll alway...

etwa ein Jahr ago | 0

| accepted

Answered
Undefined function or variable 'optIdx'. Error in sh (line 28) dev = gpuDevice( optIdx )? what is this
Sorry if this seems like a facetious answer - I may be missing the point. The error means you haven't defined the variable |optI...

etwa ein Jahr ago | 0

Answered
Matlab 2018b GPU Training
Do you mean you switched to using hard-sigmoid or softsign activations? This is supported in 18b, but is a non-optimized version...

etwa ein Jahr ago | 3

| accepted

Answered
Efficiently run matrix or vector-valued function in element-wise fashion on GPU?
It's difficult to say what the best solution is without seeing what |fun| does. Typically you can address it using a series of c...

etwa ein Jahr ago | 0

Answered
CUDA 10 supported with MATLAB 2017b
There are a number of possible explanations for this. One is that you are using a Volta or Turing card with an older MATLAB v...

etwa ein Jahr ago | 1

Answered
gpuArray of variable size for codegen
Support for gpuArray input comes with R2018b. I don't know about the other thing, sorry.

etwa ein Jahr ago | 0

| accepted

Answered
Calculation of integrals and summation with an error "The following error occurred converting from gpuArray to double: Conversion to double from gpuArray is not possible"
On the face of it this code is not very advisable to run on the GPU, since I don't think it is well vectorized. Still, for a poi...

etwa ein Jahr ago | 1

Load more