Tagged Questions
0
votes
1answer
38 views
Find the closest weight vector to each instance in the data matrix
Suppose I have a weight matrix W nxm where m is the number of variables and the n is the number of instances. Also I have data matrix X of the same size. I try to find the closest weight vector to ...
0
votes
2answers
223 views
Optimization tips for a cuda code
I wrote a piece of code for computing Self Quotient Image (SQI) in MATLAB. And now i want to rewrite a part of it in parallel for speedup.
this part of code is:
siz=15;
X=normalize8(X);
...
0
votes
0answers
281 views
MATLAB GPUmat error : 'version 'GLIBCXX_3.4.14' not found
I am trying to execute GPUmat of MATLAB under ubuntu 12.04 LTS 64bit.
I already installed CUDA toolkit 4.2, NVidia graphic driver.
When I typed 'GPUstart' on command window, I got following error ...
3
votes
2answers
1k views
Why is Arrayfun much faster than a for-loop when using GPU?
Could someone tell why Arrayfun is much faster than a for loop on GPU? (not on CPU, actually a For loop is faster on CPU)
Arrayfun:
x = parallel.gpu.GPUArray(rand(512,512,64));
count = arrayfun(@(x) ...
1
vote
2answers
188 views
How can GPU's shared memory be used in Matlab?
Could someone tell in general how is GPU's shared memory used by the Matlab parallel computing toolbox. And can I use it explicitly to synchronize MPs units for example.
BTW. I have a GTX 580 which ...
1
vote
1answer
312 views
How can we access multiple elements with Arrayfun in Matlab?
Could anyone help me to access multiple elements of an array (xGrid and yGrid here) from inside a function (fun.m). Performance is my critical point. Here is the function (that is called):
function ...
0
votes
1answer
199 views
Passing GPUArray to feval
I have the following kernel
__global__ void func( float * arr, int N ) {
int rtid = blockDim.x * blockIdx.x + threadIdx.x;
if( rtid < N )
{
float* row = (float*)((char*)arr ...
1
vote
1answer
91 views
GPU Bitxor in MATLAB
gx = gpuArray(uint8(X));
gtm = gpuArray(uint8(tm));
gx = arrayfun(bitxor,gtm,gx);
Error:
Error using ==> bitxor
Not enough input arguments.
Error in ==> Encryption at 57
gx = ...
0
votes
1answer
455 views
Is there any Matlab toolbox for neural network that can run on GPU?
I tried with GPUmat, but the neural network toolbox from mathworks does´t support it. Otherwise I must change the nn-toolbox by myself. But it´s too hard for me. Any suggestion for me?
1
vote
1answer
142 views
Different image block sizes using the GPU
I wish to apply filter motion for certain number of iteration on different images, each image will be divided into different block size.
For example, if the image size is 1024*870,,How to divide ...
1
vote
1answer
2k views
MATLAB and ATi GPU
How do I use my ATi 5470M for computation on MATLAB 2010a
Also, Can I enable my CPU and GPU to do the thing in parallel, together?
I'm new to GPU computing.
0
votes
1answer
105 views
Benchmarking image enhancing algorithm
I have an algorithm that enhances images taken in low light and uses GPU for the computations. I need to benchmark the algorithm to see how many instructions or triangles it uses on a GPU?
Any ideas ...