Write C code to calculate Euclidean Distance on a GPU using CUDA
$30-250 USD
Concluído
Publicado há aproximadamente 7 anos
$30-250 USD
Pago na entrega
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[[login to view URL]];
for( int x = 0;x<[login to view URL];x++) // Calculate this in parallel
{
results[x] = EuclideanDistance(parameter1,prameter2[x]);
}
return results;
}
float EuclideanDistance(float[] param1, float[] param2)
{
//Calculate Distance
}
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?