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]);
float EuclideanDistance(float param1, float param2)
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?