Réponse apportée
trying to make mex file of cuda code which places elements of one variable to another but getting there errors.
I think you meant to declare |W| as |double * const W| rather than |double const * W|. You can't modify the data being pointed t...

presque 9 ans il y a | 0

Réponse apportée
Problems with multi-gpus
I can reproduce your issue. It seems the issue is your use of an anonymous function to call a nested function for your datastore...

presque 9 ans il y a | 2

Réponse apportée
how to run "detectMSERFeatures" on a GPU or how to accelerate it?
Why don't you inspect the function <https://uk.mathworks.com/help/vision/ref/detectharrisfeatures.html |gpuArray/detectHarrisFea...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
How does Matlab allocate GPU memory ?
MATLAB allocates memory when necessary using the driver API. But it maintains a memory pool and avoids raw allocation if possibl...

presque 9 ans il y a | 0

Réponse apportée
GPU multiplication slowdown after ~500 ops. (Image Attached)
This is just because you are not accounting for the asynchronous behaviour of the GPU in your timing. This question is asked reg...

presque 9 ans il y a | 1

Réponse apportée
Convolutional neural networks: What is the best practice training approach using graphics cards?
You needn't worry too much about the efficiency of file i/o. Even with a file-path table, data is prefetched in the background d...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
GPU enabled functions react slow on first call
MATLAB R2016b is built with CUDA 7.5. The first time you load the GPU libs they have to be just-in-time compiled to match your P...

presque 9 ans il y a | 1

| A accepté

Réponse apportée
can any body help me how to use "arrayfun" to update parameter with in "for loop"? is it possible?
That's not the way |arrayfun| works. |arrayfun| passes each element of your input arrays to the function, so you cannot then ind...

presque 9 ans il y a | 1

| A accepté

Réponse apportée
k-means clustering using CUDA gpu with MATLAB programming
<https://uk.mathworks.com/matlabcentral/answers/356143-calculating-kmeans-on-a-gpu>

presque 9 ans il y a | 0

Réponse apportée
Speed of looped operation on a GPU depending on number of iterations in loop?
You're just doing the timing in an invalid way. Most GPU operations run asynchronously, so all you were timing for the first 100...

presque 9 ans il y a | 2

| A accepté

Réponse apportée
how can i fix this error Error using gpuArray/arrayfun Out of memory on device. To view more detail about available memory on the GPU, use 'gpuDevice()'. If the problem persists, reset the GPU by calling 'gpuDevice(1)'.
Try reducing the number of digits you are trying to classify at once, to reduce the amount of memory needed to process them. See...

presque 9 ans il y a | 0

Réponse apportée
CUDA Error - Semantic Segmentation
This is almost guaranteed to be due to a kernel time-out - your GPU is also driving your graphics, and Windows imposes a time-ou...

presque 9 ans il y a | 0

Réponse apportée
Is there a Convolutional Neural Network implementation for 3D images?
There are many 3D image processing algorithms in MATLAB. However, there is currently no support for 3D volumetric data in the De...

presque 9 ans il y a | 1

Réponse apportée
Using a system with multiple gpus and multiple users, how can we share resources?
This is difficult to answer fully without a lot more information about your system and environment. Probably the best way to dea...

presque 9 ans il y a | 0

Réponse apportée
Resize images in ImageDataStore on GPU
A ReadFcn is fine for classifying one image at a time. For classifying large batches of images it will slow things down consider...

presque 9 ans il y a | 2

Réponse apportée
Calculating kmeans on a GPU
|gpuArray| support for |kmeans| was added to MATLAB in R2016a >> help gpuArray/kmeans kmeans K-means clustering for GPU...

presque 9 ans il y a | 3

| A accepté

Réponse apportée
How to plot training loss for Covolutional Neural Nets?
The issue is that |addpoints| only takes double values and in R2017a |info.TrainingLoss| is a single |gpuArray|. This is essenti...

presque 9 ans il y a | 2

| A accepté

Réponse apportée
Pass a Matlab Function handle to mex file in GPU computing
Hi Qun. What you appear to be trying to do is have a GPU run a MATLAB function. This, I'm afraid, is impossible. MATLAB is runni...

presque 9 ans il y a | 0

Réponse apportée
Compiling CUDA files with mex -v mexGPUExample.cu
You can't compile this file with |mex|, it must be compiled with <https://uk.mathworks.com/help/distcomp/mexcuda.html |mexcuda|>...

presque 9 ans il y a | 0

Réponse apportée
please suggest GeForce Card for GPU computing in Matlab 2016b
What makes you think that Pascal is not supported in R2016b? It is supported. Deep Learning is not supported, and there are a co...

presque 9 ans il y a | 0

Réponse apportée
What functions does pagefun support?
|sum| already supports batch operations, and with |accumarray| you can sum arbitrary data partitions. |pagefun| supports all ...

presque 9 ans il y a | 0

Réponse apportée
Why does norm(gpuArray) return a double in Matlab 2015b?
The debate over this could go round the houses 100 times! The logic was that scalars should always be returned on the CPU becaus...

environ 9 ans il y a | 5

| A accepté

Réponse apportée
Entry-wise multiplication of a sparse matrix on GPU
Is the sparsity the same for both matrices? [I, J, VA] = find(Asparse); [~, ~, VB] = find(Bsparse); C = sparse(I, J, ...

environ 9 ans il y a | 1

Réponse apportée
Selecting specific GPUs for parpool
Start your pool, select the devices, then run |trainNetwork|. It will use the pool you already have open and won't change the se...

environ 9 ans il y a | 3

| A accepté

Réponse apportée
Whether NVIDIA Quadro K620 is enough to run the deep learning codes smoothly with less time in Matlab?
The K620 is capable of doing Deep Learning in MATLAB but it only has 2GB of memory. This limits what you can do, in particular, ...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
How to pass a user-defined function as a argument to mex file?
Simple advice for a newbie to GPU programming - don't write a custom MEX function or CUDAKernel until you've tried using the GPU...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
exp function on single gpuArray vs exp function on single normal array precision difference
Your test does not do a fair comparison, since both the host and GPU versions should be compared against the double-precision ve...

environ 9 ans il y a | 1

Réponse apportée
Matlab CUDA feval interfacing problem
You are just writing off the end of your array. Your logic says that when you have 2000 rows, launch two blocks each with 1024 t...

environ 9 ans il y a | 0

Réponse apportée
ptxas fatal : Unresolved extern function 'cudaGetParameterBufferV2' with matlab 2017a on GTX1080
Dynamic parallelism is not supported in MATLAB |CUDAKernel| objects. You need to use a MEX function instead. Sorry.

environ 9 ans il y a | 1

| A accepté

Réponse apportée
how to convert this code into gpuArray
A blanket change would be z=gpuArray.colon(1,0.5,10); a=gpuArray.colon(1,0.5,5); num=kron(z,ones(1,length(a),'gpuArra...

environ 9 ans il y a | 0

| A accepté

Charger plus