Write C code to calculate Euclidean Distance on a GPU using CUDA

I need code written in C that can run on a GPU using CUDA.

The code should take in two parameters.

Parameter 1 is a float array

Parameter 2 is an array of float arrays

The code to run on the GPU is as follows:

For each float array in Parameter 2, calculate the distance from Parameter 1

Sudo code is below:

float[] Function(float[] parameter1, float[][] parameter2)


float[] results = new float[[url removed, login to view]];

for( int x = 0;x<[url removed, login to view];x++) // Calculate this in parallel


results[x] = EuclideanDistance(parameter1,prameter2[x]);


return results;


float EuclideanDistance(float[] param1, float[] param2)


//Calculate Distance


Habilidades: Programação C, CUDA

Veja mais: c# code to write excel rows from a nested array, c code to write excel rows from a nested array, gpu jacobi cuda, using cuda opengl project, distance points graphjava code, using cuda ffmpeg, software write mq4, software write chip epson, useful software write book, software write web specs, online examination using flex php mysql source code, using binary tree build morse code database, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book

Acerca do Empregador:
( 49 comentários ) Newark, United States

ID do Projeto: #13828374

Concedido a:


Hello You can see by my profile that parallel computing and CUDA is my main interests here, I can provide really efficient and good solutions to such stuff. I could chat more, what's your deadline date?

$77 USD em 2 dias
(59 Comentários)

5 freelancers estão ofertando em média $140 para esse trabalho

$111 USD in 2 dias
(42 Comentários)
$155 USD in 3 dias
(20 Comentários)
$100 USD in 3 dias
(18 Comentários)
$257 USD in 10 dias
(0 Comentários)